-
Notifications
You must be signed in to change notification settings - Fork 1.2k
"No Python interpreter is selected" notification on almost every start on WSL #16419
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
Comments
Potential dup of #16291. Can you add the setting mentioned here #16291 (comment) in Remote and User settings and see if it helps? |
If you see in the logs, we're unable to verify that the python interpreter is valid and the error
|
Yes, it works, if I change the path to unix style, but please note that this error occurred when I've started VSCode in Windows version, not WSL.
|
It does not seem to have any effect. |
Environment data
python.languageServer
setting: "Pylance"[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (
python.languageServer: 'Microsoft'
), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]Expected behaviour
Store selected interpreter when switching between VSCode on Windows/WSL.
Actual behaviour
"No Python interpreter is selected" notification displayed every time after switching between Windows/WSL
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
code .
wsl code .
code .
wsl code .
Logs
Logs after starting in Windows with WSL interpreter already selected:
The text was updated successfully, but these errors were encountered: