-
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
"An Invalid Python interpreter is selected" #21695
Comments
@madmarcin33 Click on the yellow "select interpreter" on the status bar in your screen shot: |
Thanks for the bug report! We investigate issues in order based on priority and severity, which includes the impact it has on your ability to use the extension to do productive work, and the number of people affected. If other users come forward and leave a comment demonstrating they are seeing/reproducing the problem then we will raise this issue's priority. Thanks for understanding and the patience! |
@madmarcin33 Can you demonstrate to me that any of pythons work outside of VSCode? For eg. try running:
outside VS Code in Command prompt. |
Also, note |
|
In that case this seems like this is not an issue of VS Code, so I will have to close this issue. I encourage you to ask this question in stack overflow or https://chat.openai.com/ to figure out what's wrong with the Python installs in your system. |
I installed Code Runer instead of extension that vscode recommends and now everything works correctly, thanks for not helping me out |
@madmarcin33 In-case it's helpful for you or others who stumble upon this issue: I saw a this with similar results/output running almost the same versions of the software. Turns out it was our anti-virus (sentinel one). 😭 |
Type: Bug
Install python 3.11.4
VS Code 1.80.1
Uninstall python
Install Python Extension v2023.12.0
Install python 3.11.4 again
This is my first time trying to learn coding/programming and downloading VScode and Python. When i saw that there is Python to download in VScode I thought that then it is not necessary to have Python installed on windows so I uninstalled it. Then when I tried to run test python file, Python in VScode turned out to be only extension so I installed Python on windows again. I again tried to run test file but error poped up "An Invalid Python interpreter is selected, please try changing it to enable features such as IntelliSense, linting, and debugging. ".
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)What I tried:
-running vscode as an admin
-reinstalling python and vscode
-moving %SystemRoot%\system32 to the top of system variables path list
-switching to pre-release version of an extension
-manually selecting interpreter
Results:
-it still doesn't work
Expected results:
-it works how it should
Extension version: 2023.12.0
VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:22:07.651Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: