In Windows 10, How Visual Studio Code should be configured to find the Python 3 interpreter?
Visual Studio Code is not able to find the Python 3 interpreter.
I have added the Python extension, the Python extension at https://marketplace.visualstudio.com/items?itemName=donjayamanne.python.
How settings.js
should be changed to use Python?
Even if python.pythonPath
in settings.js
is changed to be led to python.exe
, which is at "C:Users<User>AppDataLocalProgramsPythonPython36-32p?ython.exe", if I select Python: Select Workspace Interpreter
in the command palette, I get the message Please open a workspace to select the Python Interpreter
. Why is this happening?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…