Add python3 as a shim on Windows
#7465
Unanswered
trolleyman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
On Windows,
python3is set to open the Windows store when run (thanks Microsoft 🥲). This breaks quite a few things, and I'd like the option to add this as a shim to override it - I can turn it off here, but thought it might be good to report so that this can be resolved by default. I've manually addedpython3.cmdat the moment, but do get warnings that it will be removed if I runmise reshim- is there an option somewhere where I can set it to manually be created (/ should this be added to the default Python installation on Windows)?Also, sometimes when running
mise activate pwsh --shimstwice (which sometimes happens when reloading Powershell), I get this error:I've figured out that if I do this it works, is this intended?
(The reason I'm doing this rather than modifying the User PATH environment variable is that this doesn't override the machine's PATH, meaning the
python3bundled with Windows is run rather than mise's version.)Beta Was this translation helpful? Give feedback.
All reactions