Repository navigation
Closed as not planned
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Hello,
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) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: unavailable_off vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 7.89GB (2.25GB free) |
| Process Argv | --crash-reporter-id 401dac80-0f90-4cee-bdf2-5ddeb0faaa2f |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
usemplatestapi:31297334
aj953862:31281341
cs4_fixed:31391938
nes-set-on:31351930
6abeh943:31336334
envsdeactivate2:31353495
aa_c:31379599
0cj2b977:31352657
cloudbuttont:31379625
todos-0:31390406
multireplacestring:31393295
treatment_gpt5applypatchexclusively:31394181
3efgi100_wstrepl:31382709
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
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!