I'm trying to make a custom ChatGPT bot in Visual Studio Code and I'm getting the error Import "OpenAI" could not be resolved Pylance(reportMissingImports) the error code is reportMissingImports [boolean or string, optional]: Generate or suppress diagnostics for imports that have no corresponding imported python file or type stub file. The default value for this setting is "error". I'm relatively new to coding so if anyone could give me a nudge in the right direction.
I tried to switch files from a custom file to the download files but that didn't work I also tried opening a terminal and typing pip3 install openai
but that still didn't work