forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
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.pyfile (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.pyfrom the VS Code integrated terminal works correctly. - Before the Windows reinstall, the same setup worked correctly on this machine.
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team