-
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
the extension can not find the path of python from microsoft store #10850
Comments
Hello @mbtk, Thank you for reaching out. Can you send a screenshot of the error you're seeing? Can you also launch python in the terminal (Powershell or command prompt)? Thanks! |
Where did you install Python from: Windows store, downloaded executable, built it yourself, another way? Where is it installed? Can you try downgrading the extension to a previous version ( As a workaround, you can try checking the |
I installed it from Windows store. |
Thank you for the feedback that downgrading works 👍 I won't close this issue, we will still need to investigate it further and fix it in the extension. Telemetry: #10900 |
Downgrading to 2020.2.64397 doesn't work here, it still yells at me that I need to install Python. I have to manually set Python Path in vscode settings from I'm on Windows 10 2004, BTW. |
same as @saschanaz |
I suspect this is an OS-wide regression as other tools e.g. MSYS shell can't access any store-distributed commands anymore because of a permission issue. |
Please make sure that the extensions auto-update is disabled. |
When we switched to suing VS Code FS APIs looks like we started getting this issue. The files under The underlying issue is we don't have a specific Windows Store App detection. Instead , we try to find the store app by searching it in directories listed in PATH env variable. Since, @kimadeline The reparse point might also be the reason for stat failing. Filed microsoft/vscode#95828 |
FYI, on macos it fails to find
|
On Linux fails to find the regular python install (/usr/bin/python)
|
Part of the fix for this has to come from nodejs nodejs/node#33024 . @holymonson @somas95 You might be running into a different issue. On mac and linux, usually the python that conda has is a symlink. I don't see a issue with node or VSC FS APIs with symlinks so far: |
For everyone stumbling across this issue: Even when using the next release version, there is an additional issue (#11412) with using Jupyter with the Microsoft Store version of Python. |
@karthiknadig It's not a conda install, rather a distro's repo one. I'll try downgrading the extension. Thanks! |
I installed Python using chocolatey (choco install python) and am seeing the same issue: "python is not installed. please download..." Version: 1.44.2 (user setup) |
Fix for the windows store python is in build |
@sebastus give |
Issue Type: Bug
I installed Python and everything works well. But after a VS update, every time I open VScode it says:"Python is not installed, please download and install...."
Extension version: 2020.3.69010
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.18362
The text was updated successfully, but these errors were encountered: