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

Failed to install openai #783

Closed
rafie-mehdi opened this issue Jan 27, 2023 · 1 comment
Closed

Failed to install openai #783

rafie-mehdi opened this issue Jan 27, 2023 · 1 comment

Comments

@rafie-mehdi
Copy link

i use "python {
pip{
install "openai"

        }}" to install openai library but i get always this error

Using cached https://files.pythonhosted.org/packages/37/37/eea5ae693a9f95c554ba7665e96a105425d6823782105f2317cb8a2bb8be/openai-0.26.4.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:\Users\mehra\AppData\Local\Programs\Python\Python310\python.exe' -S -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\mehra\AppData\Local\Temp\pip-install-s6bt817y\openai\setup.py'"'"'; file='"'"'C:\Users\mehra\AppData\Local\Temp\pip-install-s6bt817y\openai\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' --no-user-cfg egg_info --egg-base pip-egg-info
cwd: C:\Users\mehra\AppData\Local\Temp\pip-install-s6bt817y\openai
Complete output (39 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\mehra\AppData\Local\Temp\pip-install-s6bt817y\openai\setup.py", line 3, in
setup()

@mhsmith
Copy link
Member

mhsmith commented Jan 29, 2023

This is an instance of #715, which was fixed in Chaquopy 14.0.2. To upgrade, edit your app's top-level build.gradle file and change the version number of com.chaquo.python.

@mhsmith mhsmith closed this as completed Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants