ChatGPTify
ChatGPTify copied to clipboard
ModuleNotFoundError: No module named 'openai.error'
Issue:
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.