-
-
Notifications
You must be signed in to change notification settings - Fork 420
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 can't be run via shim, opens Microsoft Store, after clean install 0.15.2 on Windows 11 x64 #480
Comments
Thanks for a great tool @mitsuhiko! I'm available for any testing |
Strange it works after closing and reopening terminal, even when the env path is unchanged and I tried to run python.exe directly in the shims directory (and with shims path explicitly). Closing for now, will reopen if it happens again and will be more clear, that there's something to fix |
Strange it works after closing and reopening terminal, even when the env path is unchanged and I tried to run python.exe directly in the shims directory (and with shims path explicitly). Closing for now, will reopen if it happens again and will be more clear, that there's something to fix |
Resolution of the above issue:
|
I wonder if I could detect the windows store version. You probably never want to bring up the store and I could instead of falling back to that print out a helpful error. |
@mitsuhiko good idea. It can be detected by checking if the next python in PATH is Actually if there's no global python installed, then |
Not entirely because that executable turns into the actual shim executable when python has been successfully installed from the store. |
Steps to Reproduce
rye-x86_64-windows.exe
%UserProfile%\.rye\shims\python.exe
Expected Result
Python 3.11.6 is executed from
%UserProfile%\.rye\py\cpython@3.11.6\install\python.exe
Actual Result
No output on console, Microsoft Store opens.
Notes:
%UserProfile%\.rye\py\cpython@3.11.6\install\python.exe
successfully...\bin\python.exe
in comments in other issues here. Imo that should be documented.Version Info
Stacktrace
No response
The text was updated successfully, but these errors were encountered: