OpenAI Developer Community
Error while importing openai in Ubuntu
API
_j
March 31, 2024, 1:03am
2
There is no reason for you to be using bleeding edge Alpha versions of Python.
Try Python 3.10.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Import openai in Python 3.10.5 causing ImportError
API
python
5
12727
December 18, 2023
Import openai doesn't work in Python 3.12
API
4
3473
February 17, 2024
Cannot import name 'OpenAI' from 'openai'
API
26
104800
December 18, 2023
AttributeError: module 'pydantic' has no attribute 'BaseModel'
Community
api
5
2381
January 23, 2024
Assistant API setup: "ImportError: cannot import name 'OpenAI' from 'openai' "
API
assistants-api
1
3190
November 15, 2023