由于pip19.2.3版本诸多问题, 决定卸载, 结果发现根本无法卸载, 提示以下错误信息:
C:\Users\abc>python -m pip uninstall pip
Uninstalling pip-19.2.3:
Would remove:
c:\program files\python38\lib\site-packages\pip-19.2.3.dist-info\*
c:\program files\python38\lib\site-packages\pip\*
c:\program files\python38\scripts\pip.exe
c:\program files\python38\scripts\pip3.8.exe
c:\program files\python38\scripts\pip3.exe
Proceed (y/n)? y
ERROR: Exception:
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\shutil.py", line 781, in move
os.rename(src, real_dst)
PermissionError: [WinError 5] 拒绝访问。: 'c:\\program files\\python38\\lib\\site-packages\\pip-19.2.3.dist-info\\' -> 'C:\\Users\\abc\\AppData\\Local\\Temp\\pip-uninstall-flz7sdgb'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\site-pack