Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.107.1 (Stable)
- OS Version: Windows 10 (fresh install)
Steps to Reproduce:
- Perform a clean Windows reinstall.
- Install Python from python.org (not from Microsoft Store).
- Verify that Python works correctly from CMD (
python, pip, running scripts).
- Install Visual Studio Code (stable) and open it.
- Manually select the Python interpreter located at:
C:\Users\...\AppData\Local\Programs\Python\Python312\python.exe
- Create a simple
test.py file (e.g. print("test")).
- Run the file using the Run button or by pressing F5.
Observed Result:
- VS Code stays in a “running” state with no output.
- No error is shown in the terminal.
- When closing the run tab, an error briefly flashes and disappears.
- The Python script does not execute.
Expected Result:
- The Python file should execute normally, the same way it does when run from CMD or from the VS Code integrated terminal using
python test.py.
Additional Notes:
- The issue occurs even with all extensions disabled.
- Running
python test.py from the VS Code integrated terminal works correctly.
- Before the Windows reinstall, the same setup worked correctly on this machine.
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
python,pip, running scripts).C:\Users\...\AppData\Local\Programs\Python\Python312\python.exetest.pyfile (e.g.print("test")).Observed Result:
Expected Result:
python test.py.Additional Notes:
python test.pyfrom the VS Code integrated terminal works correctly.