OpenAI Developer Forum
AttributeError: module 'openai' has no attribute 'error'
API
openapi
,
langchain
atseptember
November 9, 2023, 7:10pm
8
this solved my problem:
langchain==0.0.316
openai==0.28.1
I hope that it could help you guys too
2 Likes
show post in topic
Related Topics
Topic
Replies
Views
Activity
Error'openai' has no attribute 'error'
API
langchain
,
openai
4
2856
December 27, 2023
Getting AttributeError : module โopenaiโ has no attribute โerrorโ
Community
api
11
12164
January 16, 2024
AttributeError: module 'openai' has no attribute 'Embedding'
API
gpt-4
,
gpt-35-turbo
,
gpt-4-turbo
4
8037
November 14, 2023
Cannot import name 'OpenAI' from 'openai'
API
26
95428
December 18, 2023
I have been facing this error, can anybody help me with this, It looks like the code is trying to use the openai.error.Timeout attribute, but as mentioned earlier, the openai module has no such attribute in the version you're using. To resolve this is
Bugs
2
1210
December 5, 2023