Reputation: 41
enter image description hereAll of the modules are imported and have been but now out of nowhere these 3 are showing up yellow and have an error message along the lines of this... Import "numpy" could not be resolved Pylance(reportMissingImports)
Upvotes: 4
Views: 4996
Reputation: 9883
If you have multiple python environments on your machine, please choose the correct interpreter for vscode.
Use Ctrl+Shift+P to open the command palette
search and select Python:Select Interpreter
Choose the right interpreter
Upvotes: 6