-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Not able to select Python intrepreter #18086
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
Hi @cherry123-rgb, thank you for reaching out. Can you select the interpreter if you restart VS Code? The official Python installer updates the Windows registry when installed (see more info here), and as such the extension won't be able to discover this Python interpreter until VS Code is restarted. |
Hi @kimadeline , thanks a lot for helping. I have tried reloding and restarting the VS Code but the problem still persists |
Symptoms described here look to be the same as those in #17941 |
Environment discover has been redone, so this should not occur anymore. If this occurs please file a bug using instructions here to create a new bug with all the critical details we need for diagnosis. |
VS Code version
1.62.3
Extension version
v2021.11.1422169775
OS type
Windows
OS version
10
Python distribution
python.org
Python version
3.10.0
Language server
Default
Expected behaviour
When I opened my vscode I was expecting that my python ineterpreter that I have just installed must have been detected. But to my surprise on the bottom left corner it showed that "⚠ select python interpreter". So when I clicked on it I expected to see the interpreter of my choice.
Actual behaviour
The actual behaviour was highly unexpected. The python interpreter was not showing up. It was just refreshing python interpreter for half an hour but no interpreter was coming. Below is the screenshot attached to the problem. Python 3.10.0 interpreter is not showing up.
Steps to reproduce
Logs
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: