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

No module named 'openai.error' #35

Open
wuimin opened this issue Nov 8, 2023 · 1 comment
Open

No module named 'openai.error' #35

wuimin opened this issue Nov 8, 2023 · 1 comment

Comments

@wuimin
Copy link

wuimin commented Nov 8, 2023

when deploy the both backend and frontend application, there's error of "no module named openai.error. then the application canot work.
the details is as the following:

ModuleNotFoundError: No module named 'openai.error'
Traceback:
File "/tmp/8dbe04b52defefa/antenv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "/tmp/8dbe04b52defefa/pages/1_Search.py", line 8, in
from openai.error import OpenAIError

@wuimin
Copy link
Author

wuimin commented Nov 12, 2023

the issue was solved, because of the openai version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant