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
Improve "No Python interpreter" selected prompt #17667
Extension version (available under the Extensions sidebar): v2021.10.1317843341
I think this just showed up today, but I can't give exact repro steps. I was doing python things in different repos for awhile. At some point, I noticed that I get this notification every time I open a window with a python project
I don't usually see that. Then I noticed that I have this setting, which I definitely didn't set manually: "python.defaultInterpreterPath": "/opt/python/latest/bin/python". Removing that makes the notification go away. Is there something in the extension that adds that setting? That path does not exist for me.
changed the title [-]defaultInterpreterPath and interpreter notification[/-][+]Modify "No Python interpreter" selected prompt to "Invalid python interpreter" when invalid interpreter is selected[/+]on Oct 11, 2021
changed the title [-]Modify "No Python interpreter" selected prompt to "Invalid python interpreter" when invalid interpreter is selected[/-][+]Improve "No Python interpreter" selected prompt[/+]on Jan 7, 2022
Also, remove Python is not installed prompt in favor of No Interpreter Selected prompt. This will ensure when users finish installing Python from windows store, it shows up without reload when following the prompt to open the interpreter list. (For #19099)
Activity
karrtikr commentedon Oct 11, 2021
We set it in User settings when an interpreter is chosen manually, but we never modify this setting for the workspace as far as I'm aware of.
Instead of "No Python Interpreter is selected" prompt, we should show a "Invalid Python Interpreter selected" prompt, we'll fix that with this issue.
[-]defaultInterpreterPath and interpreter notification[/-][+]Modify "No Python interpreter" selected prompt to "Invalid python interpreter" when invalid interpreter is selected[/+]9 remaining items
[-]Modify "No Python interpreter" selected prompt to "Invalid python interpreter" when invalid interpreter is selected[/-][+]Improve "No Python interpreter" selected prompt[/+]karrtikr commentedon Jan 7, 2022
karrtikr commentedon Jul 2, 2022
Also, remove
Python is not installed promptin favor ofNo Interpreter Selectedprompt. This will ensure when users finish installing Python from windows store, it shows up without reload when following the prompt to open the interpreter list. (For #19099)karrtikr commentedon Jul 13, 2022
selecting which leads to: