You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just switched from windows 10 to windows 11. I needed to reinstall Python and VS Code (With python extension). After all reinstalled, i just couldn't choose an interpreter and run a python file. In other words, when i try to click on the run button or type Ctrl-Shift-p then >python run python file in Terminal, nothing happen, no report on the Output panel. I am aware that this is not the first topic about a kind of issue like this. i already made my own research, tried the several answer about this.
Type: Bug
Here is the way I experience this issue :
Download the python extension
Open a python file
Can't launch python file
Ctrl-Shift-P > Python Select intepreter with the path of python exe
Try to launch python file
Can't launch python file
Extension version: 2025.14.0
VS Code version: Code 1.104.2 (e3a5acfb517a443235981655413d566533107e92, 2025-09-24T11:21:37.073Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
Item
Value
CPUs
Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (4 x 2395)
Hi! Do you see anything in logs when you try clicking the run button? Also does it consistently repro or if you reload the window or switch back and forth with another file do you no longer see the bug?
i think it was coming from the PATH variable contained ~%APPDATA%\Local\Programs\Python\Launcher, I added the direct link to the python version : ~%APPDATA%\Local\Programs\Python\PythonXXX
Then it started to work fine.
When the bug was the occuring, it wasn't possible to launch python files except launching the python command on the builtin terminal of VS Code (no debugging or launch python file command or button).
I saw the bug occuring on differnet python file in different location on my HDD or on cloud (onedrive)
Activity
eleanorjboyd commentedon Oct 3, 2025
Hi! Do you see anything in logs when you try clicking the run button? Also does it consistently repro or if you reload the window or switch back and forth with another file do you no longer see the bug?
pams95 commentedon Oct 4, 2025
Hello,
I finaly resolved my issue.
i think it was coming from the PATH variable contained ~%APPDATA%\Local\Programs\Python\Launcher, I added the direct link to the python version : ~%APPDATA%\Local\Programs\Python\PythonXXX
Then it started to work fine.
When the bug was the occuring, it wasn't possible to launch python files except launching the python command on the builtin terminal of VS Code (no debugging or launch python file command or button).
I saw the bug occuring on differnet python file in different location on my HDD or on cloud (onedrive)
eleanorjboyd commentedon Dec 12, 2025
Glad it got resolved!