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.

classification
Title: [Windows] account privileges and updating Python packages
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: eryksun, hl2guide
Priority: normal Keywords:

Created on 2021-10-25 03:59 by hl2guide, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg404949 - (view) Author: Dean (hl2guide) Date: 2021-10-25 03:59
Running on Windows 10 Home PC, I'm running into an issue with Windows user account privileges and updating Python packages.

Upgrading a package (e.g. pip) with a lower-level user on Windows can result in a broken pip package (message of "no 'pip' package can be found").

It can be fixed by running (as admin):
python -m ensurepip

Then running an upgrade command as Admin.

Please consider enforcing Admin privileges for this action (upgrading packages).
msg404955 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2021-10-25 08:45
The pip package installer is not part of Python's standard library. Issues with pip should be reported at the following site:

https://github.com/pypa/pip/issues

Note that pip 20.0+ automatically switches to a --user installation if the user lacks the required access for a system installation.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89766
2021-10-25 08:45:45eryksunsetstatus: open -> closed

nosy: + eryksun
messages: + msg404955

resolution: third party
stage: resolved
2021-10-25 04:00:30hl2guidesettitle: [Windows] -> [Windows] account privileges and updating Python packages
2021-10-25 03:59:29hl2guidecreate