I get the error:
“No module named ‘openai’
Yet, when I run ‘pip show’ I get:
“Name: openai
Version: 0.28.0
Summary: Python client library for the OpenAI API
Home-page: https://github.com/openai/openai-python
Author: OpenAI
Author-email: [email protected]”
So, I upgrade openai to the latest version and run ‘pip show’ again:
“Name: openai
Version: 1.36.1
Summary: The official Python library for the openai API
Home-page: https://github.com/openai/openai-python
Author:
Author-email: OpenAI [email protected]”
Do a system restart just incase, try running my script (which worked perfectly fine until I reinstalled anaconda today) and this again:
ModuleNotFoundError: No module named ‘openai’
Any suggestions as to what to try?
I upgraded the module to the latest version, did system restart and ran ‘pip show’ and error persists