openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

pip install openai==0.27.1 unable to install

Open crbellis opened this issue 1 year ago • 6 comments

Describe the bug

Unable to install openai using pip for latest version. Works fine with pip3 install openai==0.27.0

To Reproduce

pip3 install openai Output: Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting openai Using cached openai-0.27.1.tar.gz (57 kB) Installing build dependencies ... done error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Requirement already satisfied: python-dotenv in /usr/local/lib/python3.9/dist-packages (1.0.0)

pip3 install openai==0.27.0 Succesful

Code snippets

No response

OS

Linux

Python version

python 3.9.16

Library version

openai-python v0.27.1

crbellis avatar Mar 09 '23 18:03 crbellis