-
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
Python Interpreter selection not working even though a version is being selected manually #18138
Comments
I just went to mess around with installing older versions and the select interpreter is no longer there and Python 3.10.1 64-Bit is now displayed but now I am getting an error that is saying Python is not installed. I tried all of the 2021 version but it started working when I tried v2020.1.57204. |
@cjcocokrisps that seems to be right can you share the full logs. |
how do i get that? |
|
Can you try running this from the terminal? The logs seem to suggest this is failing to run.
|
Try without the quotes. |
you should just run |
Run this command, from the same prompt: |
You are missing a |
From what I can tell, this error |
To summarize the problem, In the extension we run |
Thanks for the help. |
@cjcocokrisps you can use the environments variable editor in this comment #18138 (comment) . to fix your problem. make sure that system32 is at the top of the list: |
Gotcha thanks again. |
VS Code version
1.62.3
Extension version
v2021.11.1422169775
OS type
Windows
OS version
Windows 10
Python distribution
python.org
Python version
3.10.1
Language server
Pylance
Expected behaviour
The Python Interpreter should be selected but none is being selected.
Actual behaviour
This is what happens when I try to select an interpreter. I can not click on the menu either it just does not do anything. When I click the arrow keys to move it, it glitches out like what is seen. Below is what I have tried.
-Reinstalling VSC and Python
-Trying Different Python Versions
Steps to reproduce
This started to happen when I booted up VSC yesterday I do not know how to reproduce it.
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: