You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ModuleNotFoundError: No module named 'openai.error'
It appears that the chatgpt package has a dependency on an older version of the openai library, resulting in a ModuleNotFoundError for the openai.error module.
Resolution:
The solution for this issue is to install a version of the openai library that includes the required module. In this case, installing version 0.27.0 worked:
pip install openai==0.27.0
Suggest maintainers of the repo move from chatgpt-wrapper to llm-workflow-engine for long-term support/maintainability.