-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Stuck on Discovering Python Interpreters #20250
Comments
Thanks for the issue! Please provide the debug logs, set Output for
|
|
I get this issue on the latest pre-release version. |
can you check your debug logs, maybe your extension is hung up after |
Hello! We want to confirm we received this issue and will get back to you, thanks! |
Thanks for the logs, unfortunately it doesn't seem like it's sufficient to figure out why the text could be stuck, we would probably need to add more logging to figure out why it's stuck. We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience! |
I'm facing the exact same, when I open VS Code the python extension doesn't work at all (no intellisense, type checking, linting, references) and it is forever stuck in 'Discovering Python Interpreters'. This diagnostic report is for the Universal build but I have tried all 4 builds(Apple Silicon, Universal, Insiders - Apple Silicon, Insiders - Universal) Extension version: 2022.20.1 System Info
A/B Experiments
Output of the python extension
|
I am also experiencing this issue after changing my virtual env to have a different version of python. When on a python file, it shows that my virtual env is set to the correct python binary, but intellisense, type hinting, hovering over functions, nothing works. It also has the discovering python interpreters text stuck in the bottom. Debug logs:
Update: After trying to uninstall and reinstall all my extensions and VSCode itself, I was able to get my intellisense running again after reverting the python extension's version back to v2022.14.0. Hope this helps anyone seeing this issue. |
This is now added in pre-release, try it out: And then provide the logs as mentioned in the issue template. Set Output for
|
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off. |
Type: Bug
Behaviour
Expected vs. Actual
Discovering Python Interpreters should vanish after few seconds, but it keeps running.
Diagnostic data
python.languageServer
setting: PylanceOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2022.18.2
VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:22:48.959Z)
OS version: Darwin arm64 22.1.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: