Closed albas99 closed 2 years ago
Other similar issues: Import "tweepy" could not be resolved: reportMissingImports Import "dotenv" could not be resolved from source: reportMissingImports
Potential solutions if error occurs on runtime: https://dev.to/climentea/how-to-solve-pylance-missing-imports-in-vscode-359b https://stackoverflow.com/questions/65252074/import-path-to-own-script-could-not-be-resolved-pylance-reportmissingimports
Info from official repo https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md#diagnostic-severity-rules https://github.com/microsoft/pylance-release/issues/52
Solution: I was using the wrong python interpreter, once I changed that it solved the issue.
Other similar issues: Import "tweepy" could not be resolved: reportMissingImports Import "dotenv" could not be resolved from source: reportMissingImports
Potential solutions if error occurs on runtime: https://dev.to/climentea/how-to-solve-pylance-missing-imports-in-vscode-359b https://stackoverflow.com/questions/65252074/import-path-to-own-script-could-not-be-resolved-pylance-reportmissingimports
Info from official repo https://github.com/microsoft/pylance-release/blob/main/DIAGNOSTIC_SEVERITY_RULES.md#diagnostic-severity-rules https://github.com/microsoft/pylance-release/issues/52