Message358808
Environment variable PYTHONUSERBASE is not set during customized Python Installation.
Python installer 3.7.6(x64) / Windows 10
Check 1: Customize the installation to install Python in C:\Python37 for all users.
Result: Access Denied using pip
Check 2: Check 1: Customize the installation to install Python in C:\Program Files\Python37 for all users (default).
Result: pip works, but error appears trying to install anything with pip. For example:
>>pip install virtualenv
WARNING: The script virtualenv.exe is intalled in 'C:\Users\XXX\AppData\Roaming\Python\Python37\Scripts' which is not on path
By default APPDATA matches with C:\Users\XXX\AppData\Roaming
and PYHTONUSERBASE is empty
-----------------------------------------------------------------
I've found the path constructor in \Python37\Lib\site.py (_getuserbase)
So I try the following steps:
- Create folder with full control in C:\ (C:\Python)
- Set environment variable PYTHONUSERBASE=C:\Python
- Install Python for all users in C:\Python\Python37
That works for me. |
|
Date |
User |
Action |
Args |
2019-12-23 11:10:22 | sarmar11 | set | recipients:
+ sarmar11, paul.moore, tim.golden, zach.ware, steve.dower |
2019-12-23 11:10:22 | sarmar11 | set | messageid: <1577099422.36.0.0774544638319.issue39122@roundup.psfhosted.org> |
2019-12-23 11:10:22 | sarmar11 | link | issue39122 messages |
2019-12-23 11:10:21 | sarmar11 | create | |
|