Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'OpenAI' from 'openai' #1

Open
heroxy2111 opened this issue Apr 20, 2024 · 1 comment
Open

ImportError: cannot import name 'OpenAI' from 'openai' #1

heroxy2111 opened this issue Apr 20, 2024 · 1 comment

Comments

@heroxy2111
Copy link

In your assist.py you do an import:
from openai import OpenAI (line 1)
That does not seem to be possible:
ImportError: cannot import name 'OpenAI' from 'openai' (C:\Users\manue\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\__init__.py)

Of course I already installed openai via pip.

@tperas
Copy link

tperas commented Jun 20, 2024

I got the same problem just needed to reload the virtual environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants