How to Set Up Python in Visual Studio Code on Windows 10
Why Stack Overflow recommends it
Stack Overflow users cite it as the setup guide they followed when their VS Code Python environment or debugger on Windows misbehaves.
Recommended by 0 people across 0 different months, 2018 to 2020.
What it is
A 16-minute screencast from ProgrammingKnowledge showing how to install Python and Visual Studio Code on Windows 10, configure the Python extension, and debug a script from the editor. It is a beginner walkthrough with the presenter clicking through each step.
What people said
Cites Stealing · 2018-04 · Stack Overflow · on “Visual Studio Code Python Debugger Windows”
I seem to be missing something simple, but I can't figure out why I am unable to debug python using Visual Studio Code on Windows. I've tried setting up the debugger as shown by Microsoft [LINK] , and this [this video] . I've done a clean install of Visual Studio Code (including the python extension) and Python 3.6. I have no other python versions installed. I keep getting the following errors in the Python Debugger: cd "c:\Users\xxx\Documents\Python Scripts" ; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" "C:\Users\xxx\AppData\Local\Programs\Python\Python36-32\python.exe" "C:\Users\xxx\.vscode\extensions\ms-python.python-2018.3.1\pythonFiles\PythonTools\visualstudio_py_launcher.py" "c:\Users
Cites user10732864 · 2019-04 · Stack Overflow · on “"Python: Current File (Integrated Terminal)" - Visual Studio Code”
I have problems with opening VS code Intergrated Terminal while debugging a python file. VS code says: '$ {file} can not be resolved. Please open an editor.' I was working with: [this video] My launch.json // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: [LINK] "version": "0.2.0", "configurations": [ { "name": "Python: Current File (Integrated Terminal)", "type": "python", "request": "launch", "program": "${file}", "console": "integratedTerminal", "stopOnEntry": false }``` ] }
Cites hgs · 2020-05 · Stack Overflow · on “problem on setting up python on visual studio code”
After installing Python and Visual Studio code as followed on this link: [this video] I can't see the reload button in the VS but there are two button; one is disable, and the other is uninstall. Do you know why I don't have reload button and how to resolve this issue? [LINK]
Cites amaterasu.qbb · 2020-08 · Stack Overflow · on “Is it compatible with the 2.7x update, or should I use Select python Interpreter 3 or 2.7x to use Python for Maya?”
I looked up that 3 is not supported in Maya and uses 2.7. Autodesk Klnowledge [LINK] This site just says 2.7, but there are many versions of 2.7 and I don't know which one to choose. [this video] (This is 3.7.1) [this video] (This is 3.6.4) Am I correct in recognizing that Python 2.6.8 does not support Python 2.7? does Python 2.7.18 support the past 2.7 or 2.7.3? Is Python 3.8.3 also including and supporting Python 2.7.18? Which is the best version for Maya 2018.6/2019? environment Windows 10 Pro 64bit vscode version1.47.3 Maya2018.6/2019