Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

pip升级失败解决方案

今天使用pip安装模块的时候,提示我pip有新版本了,我就随手升级了一下:

1
pip install --upgrade pip

结果安装失败了。

1
2
3
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'd:\\virtual env
ironment\\for_django\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.

然后输入pip,报错:

1
ModuleNotFoundError: No module named 'pip'

啊这,这可怎么办?

那么下面就是解决方法



愿火焰指引你