-
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
Invalid "Python is not installed" error #12044
Comments
Dupe of #11870 |
@McCroden We have a hypothesis for why this is occurring. The issue is intermittent, you might be seeing it today, it might entirely disappear with the next release. We have marked the issue as needs PR, we will address it (based on our hypothesis). One problem we have had with this one is that no one in our team has been able to reproduce this, making it harder to diagnose. |
@karthiknadig okay, sounds good. My colleague and I both use vs code at work and both have this issue. Our ~ is not on the C: drive--it's actually our Z: drive. I see ~ used in the logs above so I thought maybe that had something to do with the issue. The env variable is |
We calculate home directory path, and replace it with |
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): Falsepython.languageServer
setting: MicrosoftExpected behaviour
VS Code should detect my python environments.
Actual behaviour
VS Code does not detect my python environments.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Logs
I tried downgrading python extension all the way to 2020.3.69010 and none worked.
In settings I have also specified where the python.org exe is located as well as the anaconda exe.
Work computer. Colleagues are also having issues.
**I think the issue may be that ~ does not resolve to my C: drive. **
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)The text was updated successfully, but these errors were encountered: