Skip to content

ModuleNotFoundError: No module named 'openai.error' #7

@Mattallmighty

Description

@Mattallmighty

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions