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
{{ message }}
Repository navigation
Run button not working, Python interpreter not recognized, terminal stuck on PowerShell #310
Can you update Python extension, Python environment extension to latest and see if you can still repro?
Also add "python.useEnvironmentsExtension": true, to your settings.json.
Eleanor Boyd (@eleanorjboyd) I think the run button not working issue that we've seen in the past may be related to the infinite discovering Python interpreter.
I had the same issue. Today I enabled Developer Mode on Windows and the problem disappeared.
I'm not completely sure if it's directly related, but you can try it to see if it helps.
I INSTALLED NODE.js in this labtop
And aftet installing it node js kinda
Fixed the problem!!!!!
So try installing node.js somehow it fixes the problem by it selfs???!!!!
Activity
anthonykim1 commentedon Jan 5, 2026
Which version of VS Code and VS Code Python extension are you on?
Do you have environment extension installed?
Try install https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-python-envs
Can you update Python extension, Python environment extension to latest and see if you can still repro?
Also add
"python.useEnvironmentsExtension": true,to your settings.json.Please file issue on https://github.com/microsoft/vscode-python-environments/issues or https://github.com/microsoft/vscode-python/issues
Rabea707 commentedon Jan 6, 2026
Thanks for the guidance.
I’ve already tried the following on a clean OS reset:
"python.useEnvironmentsExtension": true(top-level)The issue still reproduces and VS Code now gets stuck on
“Discovering Python Interpreters” with the interpreter picker becoming unresponsive.
At this point I’m going to file a new issue in the vscode-python / vscode-python-environments repo with screenshots and details, as suggested.
anthonykim1 commentedon Jan 6, 2026
Eleanor Boyd (@eleanorjboyd) I think the run button not working issue that we've seen in the past may be related to the infinite discovering Python interpreter.
coding_bsvd (@Rabea707) does setting
python.locatorto js change anything?eleanorjboyd commentedon Jan 6, 2026
Could you please run the Python Environment Tool and share the output? Here’s how:
This will show us which environments VS Code detected and how they were resolved, which is very helpful for debugging interpreter issues 👍
Rabea707 commentedon Jan 9, 2026
I ran the Python Environment Tool (PET).
Command executed:
npet.exe find --verbose
Result:
(no output at all)
It completes immediately and finds zero environments.
This seems to confirm VS Code cannot discover any Python installations on my system.
manhhomienbienthuy commentedon Jan 28, 2026
I had the same issue. Today I enabled Developer Mode on Windows and the problem disappeared.
I'm not completely sure if it's directly related, but you can try it to see if it helps.
karthiknadig commentedon Feb 5, 2026
We made several fixes to this recently (this week). Please try the latest insiders, if it still does not work let me know.
Rabea707 commentedon Feb 14, 2026
Yooo I got to say something
I INSTALLED NODE.js in this labtop
And aftet installing it node js kinda
Fixed the problem!!!!!
So try installing node.js somehow it fixes the problem by it selfs???!!!!