Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 528 Bytes

python-imports-cannot-be-resolved-in-vs-code.md

File metadata and controls

11 lines (7 loc) · 528 Bytes

Python Imports Cannot Be Resolved In VS Code

Category: VS Code

You may see the following error related to imports when running or debugging a Python application in VS Code with the Pylance plugin:

Import "flask_restful" could not be resolved Pylance(reportMissingImports)

To fix this problem, open the Command Palette using Ctrl + Shift + P and choose: "Python: Select Intepreter" to use the correct interpreter for the project. This will be the one with (recommended) next to it in the selection list.