After installing a Python version, default packages fail to install due to bad path to Python EXE #8872
Replies: 4 comments
-
|
This is not terribly helpful, but I'm seeing the same thing: |
Beta Was this translation helpful? Give feedback.
-
|
I suggest changing the title of this discussion to something more alarming, like "Cannot install Python". I have found maybe a few older versions work, like 3.13.1, perhaps because they are being built during installation. |
Beta Was this translation helpful? Give feedback.
-
|
A little additional information. EVERY currently available precompiled version fails to install. The latest non-precompiled version at present is 3.13.6. That works for me. |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce (on Windows)> echo pywin32 > "%UserProfile%\.default-python-packages"
> mise use -g python@3.12
DEBUG Version: 2026.5.6 windows-x64 (2026-05-11)
...
DEBUG $ C:\_\.mise\python\3.12.13\bin/python -m pip install --upgrade -r C:\Users\iki\.default-python-packages
WARN failed to install default python packages: failed to execute command: C:\_\.mise\python\3.12.13\bin/python -m pip install --upgrade -r C:\Users\iki\.default-python-packages: The system cannot find the path specified. (os error 3)
INFO python@3.12.13 ✓ installed
> C:\_\.mise\python\3.12.13\bin\python -m pip install --upgrade -r C:\Users\iki\.default-python-packages
The system cannot find the path specified.
> C:\_\.mise\python\3.12.13\python -m pip install --upgrade -r C:\Users\iki\.default-python-packages
Collecting pywin32 (from -r C:\Users\iki\.default-python-packages (line 1))
Using cached pywin32-311-cp312-cp312-win_amd64.whl.metadata (10 kB)
Using cached pywin32-311-cp312-cp312-win_amd64.whl (9.5 MB)
Installing collected packages: pywin32
WARNING: The scripts pywin32_postinstall.exe and pywin32_testall.exe are installed in 'C:\_\.mise\python\3.12.13\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pywin32-311CauseOn Windows, Also it would make sense to use OS path separator Possible solutionSearch python executable in binaries collected for creating shims. WDYT @jdx? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The path to the Python binary is
C:\Users\someuser\AppData\Local\mise\installs\python\3.12.13\python.exeand notC:\Users\someuser\AppData\Local\mise\installs\python\3.12.13\bin/python. So of course the file is not found. But why does it try to use the wrong path here?(Also, I have no idea what the Rekor public key thing means...)
Beta Was this translation helpful? Give feedback.
All reactions