Message385838
After installing Python 3.9.1 on Windows 10 system-wide to "C:\Program Files\Python39", I tried to pip install the package 'dirsearch'.
pip refused with the error: "Defaulting to user installation because normal site-packages is not writeable", and proceeded to write to Local AppData (unwanted, so I deleted from AppData).
I changed the permissions of the site-packages folder to allow python access (allowed Users and Application Packages full control).
Then I retried installing 'dirsearch', which now completed successfully. However, I was warned that my pip version was out of date. So I did:
>>> py -m pip install --upgrade pip
I ensured py --version = 3.9.1
This failed with "ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'c:\\program files\\python39\\scripts\\pip.exe'
I then allowed same permissions as site-packages to the scripts folder.
Retried
>>> py -m pip install --upgrade pip
and I get an error:
"C:\Program Files\Python39\python.exe: No module named pip"
I navigate to site-packages, where pip directories have been renamed as:
~ip
~ip-21.0.dist-info |
|
Date |
User |
Action |
Args |
2021-01-28 05:26:33 | mcriley821 | set | recipients:
+ mcriley821, paul.moore, tim.golden, zach.ware, steve.dower |
2021-01-28 05:26:33 | mcriley821 | set | messageid: <1611811593.92.0.540989910161.issue43051@roundup.psfhosted.org> |
2021-01-28 05:26:33 | mcriley821 | link | issue43051 messages |
2021-01-28 05:26:33 | mcriley821 | create | |
|