No module found OpenAI #6
-
|
Exception has occurred: ModuleNotFoundError |
Beta Was this translation helpful? Give feedback.
Answered by
iSiddharth20
Sep 7, 2024
Replies: 1 comment
-
|
Hello @mjerk Problem:
Solution:You can install the Additional Info:You will also need an OpenAI API Key, which you can get from here. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
iSiddharth20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @mjerk
Problem:
ModuleNotFoundErrorsignifies that the required module/package/library is not installed or cannot be imported.Additionally
No module named ...highlights the missing module,openaiin this case.Solution:
You can install the
openaimodule using the commandpip install openai(source)Additional Info:
You will also need an OpenAI API Key, which you can get from here.
This key will need to be updated on
Line 3in this file in the codebase for the project to function as desired.