Local Python interpreter is a new Virtualenv environment in PyCharm, for example.
Asked
Active
Viewed 204 times
1 Answers
0
I have had the same issue and can confirm that this method works.
- Ensure that you have the Python Extension installed
- Go to Settings in VS Code
- Type in the search bar, "python: pythonPath"
- You may have to scroll a bit before you see the result, but it should have a blue line next to it (on the left)
- Copy and paste the path to your python interpreter, including the file itself, in the field provided (e.g. C:/Windows/python/python.exe)
Hope this helps :)

timb123
- 19
- 5