Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python package installation failed in Ubuntu 18 with Python 3.6 #72

Closed
Vivihung opened this issue May 2, 2022 · 3 comments · Fixed by #110
Closed

Python package installation failed in Ubuntu 18 with Python 3.6 #72

Vivihung opened this issue May 2, 2022 · 3 comments · Fixed by #110
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Vivihung
Copy link
Member

Vivihung commented May 2, 2022

It seems these don't work in Linux (WSL2 and Ubuntu)

python -m pip install openai
python -m pip install psutil

After installing python and pip in Linux, these are the commands that work

pip install openai
pip install psutil
@Vivihung Vivihung added the documentation Improvements or additions to documentation label May 2, 2022
@ryanvolum ryanvolum added the bug Something isn't working label May 18, 2022
@ryanvolum
Copy link
Contributor

Related to #93 as something to be added to troubleshooting doc

@Vivihung
Copy link
Member Author

Vivihung commented May 24, 2022

requirement.txt should fix this issue. However, I'm having trouble with the openai pkg version in my WSL2 with Ubuntu v18.
image

However @dluc cannot repo it. He tested with uninstalling and reinstalling with no issues. If someone else can test it, it could confirm it's my env issue. then we should be good to close this issue.

@Vivihung Vivihung changed the title Python package installation cmds don't work in Linux Python package installation cmds don't work in Ubuntu 18 with Python 3.6 May 25, 2022
@Vivihung Vivihung changed the title Python package installation cmds don't work in Ubuntu 18 with Python 3.6 Python package installation failed in Ubuntu 18 with Python 3.6 May 25, 2022
@Vivihung
Copy link
Member Author

Vivihung commented Jun 6, 2022

Update - Thanks to the help from @dluc , we found OpenAI requires Python 3.7.1+ and Ubuntu 18 has Python 3.6.9 by default. We will update the documentation with python requirements 3.7.1+.
For Ubuntu 18 users, we would recommend upgrading Ubuntu to 20+ for a better experience. However, if upgrading Ubuntu isn't an option, you would have to manually upgrade Python to 3.7.1+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants