Python venv creation fails on Windows 11 with "The system cannot find the path specified." #4152
Unanswered
danf-s1
asked this question in
Troubleshooting and bug reports
Replies: 1 comment 1 reply
-
|
I have the same problem and I have created a PR to fix it: #4164 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Mise is failing to create the python venv on windows 11:
The mise.toml configuration file has the following settings:
The issue seems to be the python path. There is no
bindirectory in the mise python directory for windows. The python executable called by mise when I runpythonin a terminal is located at:C:\Users\<user>\AppData\Local\mise\installs\python\3.12.7\python.exeThis is impacting both PowerShell versions 5.1 and 7.4. Tested with the latest v2025.1.8, installed manually by extracting
.\misetoc:\Program Files\and addingc:\Program Files\mise\binand%LOCALAPPDATA%\mise\shimsto the PATH variable.I also tried in a PowerShell 7.4 session using the profile activation method instead of shims but got the same result.
Beta Was this translation helpful? Give feedback.
All reactions