-
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 is not getting selected #12165
Comments
Please upload the Python output channel as mentioned in the issue template. Also can you please try the following user setting and see if you still see this issue,
|
@karrtikr, I am not exactly sure what do you mean by 'upload the Python output channel'. Can you please elaborate a bit more, please? |
The issue template is displayed to you when you open a new issue https://github.com/microsoft/vscode-python/blob/master/.github/ISSUE_TEMPLATE/2_bug_report.md |
@karrtikr, the python output channel is:
|
Okay, so I found what the problem was. According to my python output channel,
I modified and corrected my 'Path' to remove some stray semicolons, then after reopening VSCode, the python extension loaded perfectly. |
The extensions should not fail to load if there is an issue with the PATH env variable. This should be handled when we address discovery via path when doing #12020 |
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): truepython.languageServer
setting: MicrosoftExpected behaviour
Normal running of Python programs in VSCode, i.e, compilation and running without any interferences.
Actual behaviour
I have been having this problem for many weeks now. Whenever I open a python file in VSCode, an alert comes, saying : "Python is not installed. Please download and install Python before using the extension". So I tried uninstalling and then reinstalling python on my Windows system. But the problem still persists. Also, whenever I open a python file in VSCode, the status bar shows "Select Python Interpreter", and even after I select a particular interpreter, it still shows the alert.
This is now becoming irritating, since everytime I open a python file, this problem occurs, although the code compiles and runs perfectly.
The text was updated successfully, but these errors were encountered: