I have tried for hours to run this short Python program and keep getting " from openai import OpenAI
ModuleNotFoundError: No module named ‘openai’"
my python version is 3.12.1 and openai is 1.7.2
I have read the threads here on this topic. Any suggestions?
Hi! Welcome to the forums!
Are you using jupyter? did you install it into the correct environment? sometimes you need to restart the kernel or the whole shell for it to work.
hmm… I use
thats all. I#m not sure is your statement right
Jupyter is enabled but I’m not using it.
Welcome to the forum!
Do you have another file called “openai.py” in the same folder?
I am still getting " from openai import OpenAI
ModuleNotFoundError: No module named ‘openai’" when I run my Python app. Am I the only one getting this now? Why am I getting this?