OpenAI Developer Community
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
3 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Error'openai' has no attribute 'error'
API
langchain
,
openai
4
2917
December 27, 2023
Getting AttributeError : module โopenaiโ has no attribute โerrorโ
Community
api
11
13331
January 16, 2024
AttributeError: module 'openai' has no attribute 'Embedding'
API
gpt-4
,
gpt-35-turbo
,
gpt-4-turbo
4
8719
November 14, 2023
AttributeError: module 'openai' has no attribute 'OpenAI' When Using 'langchain_openai'
API
langchain
,
openai
4
1946
August 12, 2024
Cannot import name 'OpenAI' from 'openai'
API
26
102822
December 18, 2023