This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mcriley821
Recipients mcriley821, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-01-28.05:26:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611811593.92.0.540989910161.issue43051@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-01-28 05:26:33mcriley821setrecipients: + mcriley821, paul.moore, tim.golden, zach.ware, steve.dower
2021-01-28 05:26:33mcriley821setmessageid: <1611811593.92.0.540989910161.issue43051@roundup.psfhosted.org>
2021-01-28 05:26:33mcriley821linkissue43051 messages
2021-01-28 05:26:33mcriley821create