Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: Discovering Python Interpreters takes forever #135210

Closed
john-aws opened this issue Oct 16, 2021 · 9 comments
Closed

Windows: Discovering Python Interpreters takes forever #135210

john-aws opened this issue Oct 16, 2021 · 9 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@john-aws
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.61
  • OS Version: Windows 10 (Windows_NT x64 10.0.19043)

Steps to Reproduce:

  1. Launch VS Code (with or without --disable-extensions)
  2. Open a folder containing Python source

I'm unable to select a Python interpreter because VS Code never completes the process of discovering Python interpreters. This is 100% reproducible. I've waited up to 10 minutes but the 'Discovering Python Interpreters' spinner is still spinning.

For reference, this is a laptop with 500GB total SSD, 150 GB in use. Running "dir /s python.exe" from the root of the C: drive completes in (considerably) under one minute.

discovering-python

@john-aws
Copy link
Author

Also, running 'Python: Select Interpreter' from the command palette does not offer a list of interpreters (and appears to do nothing).

@john-aws
Copy link
Author

Uninstalling the MS Python extension, reloading VS Code, and re-installing the Python extension (v2021.10.1336267007) does not resolve the issue (same symptoms afterwards).

@johngianni
Copy link

Same here...

@wHiTeDoPe21
Copy link

same...

@Tyriar
Copy link
Member

Tyriar commented Oct 19, 2021

/extPython

@john-aws
Copy link
Author

Raised microsoft/vscode-python#17788

@kizombaciao
Copy link

Just a quick follow up. Why is the step of 'discovering python interpreters' always necessary, even though the code that I launched on open is dart? Is this step always happening because I have installed and enabled python extensions, even though I may not be using them in the current session?

@microsoft microsoft locked as off-topic and limited conversation to collaborators Nov 12, 2021
@Tyriar
Copy link
Member

Tyriar commented Nov 12, 2021

This issue is relating to the Python extension, you should ask questions about it at vscode-python

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

6 participants
@Tyriar @john-aws @kizombaciao @johngianni @wHiTeDoPe21 and others