Unable to Run pip After Installing Python via mise on Windows 11 #3821
Unanswered
gjlmotea
asked this question in
Troubleshooting and bug reports
Replies: 1 comment
-
While my use of Windows is very limited, I faced this issue while trying to test mise-action on all platforms. Apparently the current instructions for installing on Windows are not really working. Scoop can be ignored for the moment as the PR was not merge yet and winget command should look like: winget install --accept-source-agreements jdx.mise
# really needed because the store published version is always outdated
mise self-update -y
# needed to avoid python AppStore install prompts from Windows
del /f /q "%USERPROFILE\AppData\Local\Microsoft\WindowsApps\python*.exe" >nul 2>&1 # later after manually updating PATH to include shims and a system reboot:
C:\Users\ssbarnea>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Users\ssbarnea\AppData\Local\Microsoft\WindowsApps;C:\Users\ssbarnea\AppData\Local\Microsoft\WinGet\Links;C:\Users\ssbarnea\AppData\Local\mise\shims;
C:\Users\ssbarnea>type python
The system cannot find the file specified.
C:\Users\ssbarnea>dir C:\Users\ssbarnea\AppData\Local\mise\shims
Directory of C:\Users\ssbarnea\AppData\Local\mise\shims
30/12/2024 10:44 <DIR> .
30/12/2024 10:44 <DIR> ..
30/12/2024 10:44 39 python.cmd
30/12/2024 10:44 40 pythonw.cmd
30/12/2024 10:40 37 task.cmd Sadly even after these, mise seems to be broken:
Issues found so far
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Hello!
I am new to mise and really love its elegant and intuitive operation. Thank you for providing such a wonderful tool!
I don't know why I can't run
pip
after install python.To Reproduce
Windows11 powershell
Additionally, I had to follow this guide to disable Microsoft Store's redirection when typing python
https://stackoverflow.com/questions/58754860/cmd-opens-windows-store-when-i-type-python
Finally, I got this:
Expected behavior
python3, python3.12, pip command is available
mise doctor
outputBeta Was this translation helpful? Give feedback.
All reactions