I feel like I'm asking a dumb question, but I've looked at multiple StackOverflow threads and articles online already but still haven't fixed my problem.
I'm trying to use the OpenAI Python library to train a new model, but even after running multiple variations of the pip install openai
command, VS Code and Powershell keep returning this:
Import "openai" could not be resolvedPylancereportMissingImports
and
PS C:\Users\achar\OneDrive\Documents\GitHub\TaxGPT> openai --version
openai: The term 'openai' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Here are some of the commands I've already tried:
pip install openai
pip install openai --user
pip install --upgrade pip
pip install --upgrade pip
pip3 install --upgrade openai --user
pip3 install --upgrade --force-reinstall openai --user
Thanks for your help, I really do appreciate it!