Skip to content

module openai' has no attribute 'error' #1033

@Yhc-777

Description

@Yhc-777

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

I'm using the "sheetcopilot" and using the openai api. Whe running the python file, I got this problem: Cause: module 'openai' has no attribute 'error'.

My used model version is: Model: gpt-3.5-turbo
My installed openai version is: openai 1.6.1

Could you please help me solve this problem. thanks a lot!

To Reproduce

Whe running the python file, I got this problem: Cause: module 'openai' has no attribute 'error'.

Code snippets

No response

OS

wins

Python version

3.10.13

Library version

1.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions