Message371939
After installing Python from Microsoft Store, this fails:
```
>>> open('C:\\Users\\Kagami\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python.exe')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument: 'C:\\Users\\Kagami\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python.exe'
```
This causes virtualenv to fail on it:
```
INFO: Traceback (most recent call last):
INFO: File "C:/Users/Kagami/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/9a6d8fc/mozjs\third_party\python\virtualenv\virtualenv.py", line 2349, in <module>
INFO: main()
INFO: File "C:/Users/Kagami/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/9a6d8fc/mozjs\third_party\python\virtualenv\virtualenv.py", line 703, in main
INFO: create_environment(home_dir,
INFO: File "C:/Users/Kagami/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/9a6d8fc/mozjs\third_party\python\virtualenv\virtualenv.py", line 925, in create_environment
INFO: py_executable = os.path.abspath(install_python(
INFO: File "C:/Users/Kagami/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/9a6d8fc/mozjs\third_party\python\virtualenv\virtualenv.py", line 1239, in install_python
INFO: shutil.copyfile(executable, py_executable)
INFO: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1008.0_x64__qbz5n2kfra8p0\lib\shutil.py", line 261, in copyfile
INFO: with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
INFO: OSError: [Errno 22] Invalid argument: 'C:\\Users\\Kagami\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\python.exe'
``` |
|
Date |
User |
Action |
Args |
2020-06-20 15:14:53 | saschanaz | set | recipients:
+ saschanaz, paul.moore, tim.golden, zach.ware, steve.dower |
2020-06-20 15:14:53 | saschanaz | set | messageid: <1592666093.57.0.217193955367.issue41053@roundup.psfhosted.org> |
2020-06-20 15:14:53 | saschanaz | link | issue41053 messages |
2020-06-20 15:14:52 | saschanaz | create | |
|