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

Issue with openai import: "cannot import name 'where' from 'certifi'" #2

Open
jobseeks opened this issue Aug 25, 2023 · 1 comment
Open

Comments

@jobseeks
Copy link

Hello,

I'm experiencing an error when trying to run the project. Upon launching, I get an error stating, "cannot import name 'where' from 'certifi'" that traces back to the openai import. For clarity, I'm using Python 3.9.6 in a virtual environment.

Here is the error message in full detail:

ImportError Traceback (most recent call last)
<ipython-input-1-0a5ea5a78279> in <module>
----> 1 import openai
      2 
      3 ImportError: cannot import name 'where' from 'certifi'

I've tried reinstalling 'certifi' and 'openai' Python packages using pip, but the error persists.

If anyone has any insights or solutions, I would appreciate any guidance to resolve this.

@anchen1011
Copy link
Owner

what's the version of openai & certifi you installed in the env?

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