as mentioned in documentation, it is expecting latest version of library.
unfortunately latest version could not be installed in 2.7 / 3.5
installing openai in latest version of python (3.9) resolved this issue.
and you dont need to run openai under python
pip install --upgrade openai
openai api # will return you all parameters supported.