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
VS Code stuck on “Discovering Python Interpreters”, interpreter picker unresponsive on fresh Windows install #1081
On a fresh Windows OS reset, VS Code fails to discover Python interpreters and becomes stuck on
“Discovering Python Interpreters”. The Python: Select Interpreter action becomes unresponsive.
The Run / Play button does not work and Python cannot be selected or used.
Anything new?, Im start to lose hope I tried eveything, I rest my whole labtop
This labtop costed me 2500$ for nothing
Im using my macbook and my pc
But I really need python to work in this labtop
Omg why isnt it workkinngn
Sorry I got mad :/
Btw Python works in ever other ide expect vs code 🥲🥲🥲
I tought my labtop hardwear is the problem but no since IT WORKS IN EVERYTHING EXPECT VS so yeah
🥲🥲🥲
I was also doing a fresh Windows install last weekend for a family member (partly due to a separate VSCode bug where git was not being detected) when this issue arose.
Unfortunately after spending 2 hours, I did not find the cause of the problem. I did however notice WSL was able to find interpreters on the same machine no issue. Also the issue did not present on Linux or Mac OS.
If you're tied to Windows, using WSL should get you by until a fix is pushed.
I have since removed Windows and installed Linux (Fedora) which resolved both VSCode related bugs.
zoofiftyfive Well I have no idea man
I have like 3 labtops 2 pc and 1 macbook
Never in my life came to an issuse like this with vscode Im so tired with that
This labtop is the newest and most reliable for the projects im working on, but its bugged for somereason
I can use other IDE but im more conftormable with vscode so if its not gonna get fixex I might just switch to another ide at the end or buy new labtop witch I dont want tbh!
coding_bsvd (@Rabea707)
I too hadn't come across an issue like this with VSCode until last week. It is highly likely there is nothing wrong with your laptop.
You can install WSL (Windows Subsystem for Linux) on your machine and continue to use VSCode via that. You'll need to use the WSL VScode extension that Microsoft provides.
Python development on Windows is best done in WSL + uv anyway even if this issue didn't pop up.
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.
Hello! This fix is now out on python-environment-extension version 1.17.10341640 (the newest pre-release). To switch, go to the marketplace for this extension and either select to install the latest pre-release or click the button that says "switch to pre-release" for the extension version. We would appreciate greatly if you are able to give this a try on the pre-release version and let us know if your bug is fixed!
I'm having the same problem. I installed the pre-release version of Python Environments. Now it no longer loads infinitely, but it times out and still won't locate any Python environments.
We have added in a timeout so it doesn't run indefinitely. If you could run this command and send the output that can help to debug the root issue:
Open VS Code
Press Ctrl/Cmd+Shift+P
Run: Python: Run Python Environment Tool (PET) in Terminal...
When prompted, choose “Search all”
Wait until it finishes and a terminal called “Python Environment Tool” appears at the bottom
Copy everything printed there and paste it here (or attach it as a text file)
This will show us which environments VS Code detected and how they were resolved, which is very helpful for debugging interpreter issues 👍
i have the same problem. i did your suggested command list and got:
PS E:\Documents\Pasticci> PS E:\Documents\Pasticci> & c:\Users\ariel.vscode\extensions\ms-python.vscode-python-envs-1.16.0-win32-x64\python-env-tools\bin\pet.exe find --verbose
Id Name PSJobTypeName State HasMoreData Location Command
This looks like VS Code's install system is not able to resolve it for some reason. Do you see any errors in the Help > Toggle Developer tools (console)?
Activity
Rabea707 commentedon Jan 14, 2026
Anything new?, Im start to lose hope I tried eveything, I rest my whole labtop
This labtop costed me 2500$ for nothing
Im using my macbook and my pc
But I really need python to work in this labtop
Omg why isnt it workkinngn
Sorry I got mad :/
Btw Python works in ever other ide expect vs code 🥲🥲🥲
I tought my labtop hardwear is the problem but no since IT WORKS IN EVERYTHING EXPECT VS so yeah
🥲🥲🥲
ericpassmore commentedon Jan 14, 2026
Same for me
zoofiftyfive commentedon Jan 14, 2026
I was also doing a fresh Windows install last weekend for a family member (partly due to a separate VSCode bug where git was not being detected) when this issue arose.
Unfortunately after spending 2 hours, I did not find the cause of the problem. I did however notice WSL was able to find interpreters on the same machine no issue. Also the issue did not present on Linux or Mac OS.
If you're tied to Windows, using WSL should get you by until a fix is pushed.
I have since removed Windows and installed Linux (Fedora) which resolved both VSCode related bugs.
Rabea707 commentedon Jan 14, 2026
zoofiftyfive Well I have no idea man
I have like 3 labtops 2 pc and 1 macbook
Never in my life came to an issuse like this with vscode Im so tired with that
This labtop is the newest and most reliable for the projects im working on, but its bugged for somereason
I can use other IDE but im more conftormable with vscode so if its not gonna get fixex I might just switch to another ide at the end or buy new labtop witch I dont want tbh!
zoofiftyfive commentedon Jan 14, 2026
coding_bsvd (@Rabea707)
I too hadn't come across an issue like this with VSCode until last week. It is highly likely there is nothing wrong with your laptop.
You can install WSL (Windows Subsystem for Linux) on your machine and continue to use VSCode via that. You'll need to use the WSL VScode extension that Microsoft provides.
Python development on Windows is best done in WSL + uv anyway even if this issue didn't pop up.
kundeng commentedon Jan 22, 2026
yeah, it doesn't work at all for me:
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.
fix: timeout handling for JSON-RPC requests in NativePythonFinder (mi…
eleanorjboyd commentedon Feb 3, 2026
Hello! This fix is now out on python-environment-extension version 1.17.10341640 (the newest pre-release). To switch, go to the marketplace for this extension and either select to install the latest pre-release or click the button that says "switch to pre-release" for the extension version. We would appreciate greatly if you are able to give this a try on the pre-release version and let us know if your bug is fixed!
AnnieKLamar commentedon Feb 13, 2026
I'm having the same problem. I installed the pre-release version of Python Environments. Now it no longer loads infinitely, but it times out and still won't locate any Python environments.
eleanorjboyd commentedon Feb 17, 2026
We have added in a timeout so it doesn't run indefinitely. If you could run this command and send the output that can help to debug the root issue:
This will show us which environments VS Code detected and how they were resolved, which is very helpful for debugging interpreter issues 👍
arielpriarone commentedon Feb 21, 2026
i have the same problem. i did your suggested command list and got:
PS E:\Documents\Pasticci> PS E:\Documents\Pasticci> & c:\Users\ariel.vscode\extensions\ms-python.vscode-python-envs-1.16.0-win32-x64\python-env-tools\bin\pet.exe find --verbose
Id Name PSJobTypeName State HasMoreData Location Command
1 Job1 BackgroundJob Running True localhost PS E:\Doc…
The problem persists. i link manually the python exe path and nothing happens, it just keep "Discovering python interpreters"
karthiknadig commentedon Feb 21, 2026
Ariel Priarone (@arielpriarone) the path indicates you are using version 1.16.0. The fix is in 1.20.0, please update.
arielpriarone commentedon Feb 21, 2026
thanks for the reply, how do i find that version? the only available for me are the following:
karthiknadig commentedon Feb 21, 2026
Make sure your VS Code version is 1.109.0 or greater.
arielpriarone commentedon Feb 21, 2026
i re/installed it few hours ago as an attempt to solve this very problem:
karthiknadig commentedon Feb 21, 2026
Use Install from VSIX with the following platform-specific package links:
win32-x64win32-arm64linux-x64linux-arm64linux-armhfdarwin-x64darwin-arm64alpine-x64alpine-arm64webThis seems like a bug on VS Code extension refresh.
arielpriarone commentedon Feb 21, 2026
i get:
Error: Unable to install extension 'ms-python.vscode-python-envs' as it is not compatible with VS Code '1.109.5'.
karthiknadig commentedon Feb 21, 2026
This looks like VS Code's install system is not able to resolve it for some reason. Do you see any errors in the Help > Toggle Developer tools (console)?
karthiknadig commentedon Feb 22, 2026
Ariel Priarone (@arielpriarone) I dug into what is going on. Looks like the fix needs a API from VS Code that is currently in insiders. Please try with insiders VS Code https://code.visualstudio.com/insiders/