【发布时间】:2021-03-05 21:43:44
【问题描述】:
我尝试使用 cmd(在管理员模式下)(在 Windows 上)更新 pip,这是确切的窗口:
C:\Windows\system32>pip install --upgrade pip
Collecting pip
Using cached pip-20.2.4-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.2.3
Uninstalling pip-20.2.3:
Successfully uninstalled pip-20.2.3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] Access is denied: 'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-uninstall-z45v1u3z\\pip.exe'
Consider using the `--user` option or check the permissions.
我该怎么办??
【问题讨论】: