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
2939
December 27, 2023
Getting AttributeError : module โopenaiโ has no attribute โerrorโ
Community
api
11
13793
January 16, 2024
AttributeError: module 'openai' has no attribute 'Embedding'
API
gpt-4
,
gpt-35-turbo
,
gpt-4-turbo
4
9105
November 14, 2023
Cannot import name 'AzureOpenAI' from 'openai'
Bugs
6
9621
June 8, 2025
AttributeError: module 'openai' has no attribute 'OpenAI' When Using 'langchain_openai'
API
langchain
,
openai
4
2750
August 12, 2024