使用pip时提示有更新,采用pip install --upgrade pip后出现报错:
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'd:\python\scripts\pip.exe'
Consider using the --user
option or check the permissions.
再继续使用时,出现No module named 'pip'
ModuleNotFoundError: No module named 'pip'
解决方法:
python -m ensurepip
python -m pip install --upgrade pip
0d220ba71d71 7 月前
bd4512c5a970 7 月前