-
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
Add an option to turn off auto environment discovery if an interpreter is explicitly selected #18647
Comments
Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue. |
First reported in #18200 (comment). @LeanderK Please try the following VSIX https://github.com/microsoft/vscode-python/suites/5609518918/artifacts/182361458 and let me know if it helps: Use |
Same issues here, discovering interpreter take a very long time when work with NAS based server dev environment. There are multiple feature are gated behind discovering interpreter, such as notebook kernel selection and Linting. |
Thank you to everyone who upvoted this issue! Since the community showed interest in this feature request we will leave this issue open as something to consider implementing at some point in the future. We do encourage people to continue 👍 the first/opening comment as it helps us prioritize our work based on what the community seems to want the most. |
@Tma2333 @LeanderK Hi everyone, #19102 now ensures auto discovery is only triggered if a user attempts to choose a different interpreter via UI (given Jupyter is not installed). Try the latest pre-release, activate the extension, auto-discovery should no longer happen: We can probably close this issue. |
@karrtikr I have not selected a different interpreter via the UI, and I still the infinite |
@sbrl Note Jupyter still triggers discovery at startup (see #19102 (comment)), so maybe you have that extension installed/enabled? |
Closing in favor of #18647 (comment). This problem will be solved for Jupyter with #19101. |
I am using vscode on a remote ssh connection where my work and environment is on a shared network-drive. When I connect "Discovering Python Interpreters" just takes ages (waiting for 15 minutes). Maybe it's important: The shared network-drive is multiple terabytes with different projects of different people and has some latency. Maybe it's searching through too many conda installations?
Can I just disable it? I have already chosen my interpreter.
I don't know which logs to provide, they don't seem relevant? I don't see anything regarding the search of interpreters.
The text was updated successfully, but these errors were encountered: