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
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