Message397000
When trying to create a venv from within a long path name in Windows 10 (long paths enabled in the registry), python crashes. Used python 3.9.6.
When reducing the path length by one character, it starts working.
When disabling the long path support in Windows, I get an error message about paths being too long.
btw.: I can see same / similar behavior when using virtualenv/pipenv/poetry (did not try any other venv-like tooling...)
For the instructions please check the following snippet:
d:\slave\workspace\1--folder-with-232-character-absolute-path-length----------------------------------------------------------------------------------------------------------------------------------------------------------------232>python -m venv .venv
Error: Command '['d:\\slave\\workspace\\1--folder-with-232-character-absolute-path-length----------------------------------------------------------------------------------------------------------------------------------------------------------------232\\.venv\\Scripts\\python.exe', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 3221226505.
%Errorlevel% sometimes was 1 and sometimes was -1073740791 (0xc0000409). Unfortunately I cannot recalled what I had to do to get the latter one... I tried with python 3.8.0, too. Same behavior. |
|
Date |
User |
Action |
Args |
2021-07-05 15:51:01 | schwaerz | set | recipients:
+ schwaerz, paul.moore, tim.golden, zach.ware, steve.dower |
2021-07-05 15:51:01 | schwaerz | set | messageid: <1625500261.64.0.225547269039.issue44567@roundup.psfhosted.org> |
2021-07-05 15:51:01 | schwaerz | link | issue44567 messages |
2021-07-05 15:51:01 | schwaerz | create | |
|