报错: You are using pip version 10.0.1, however version 18.0 is available.
报错:
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Win+R 输入 cmd 回车,运行了 python -m pip install --upgrade pip 即可。
![](https://upload-images.jianshu.io/upload_images/10018816-54f07c8a8376c820.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1000/format/webp)
虽然网络很慢,你看到了,6.8kB/s
在 Anaconda prompt 下运行该命令是不行的如下,
下载很久最终还是失败。
(base) C:\Users\xxx> python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl (1.3MB)
1% |▌ | 20kB 10kB/s eta 0:02:01Exception:
Traceback (most recent call last):
File "G:\。。。。。。
如果一定要用 adaconda prompt 运行,需要用 管理员身份运行。
Win + 找到 adaconda prompt 右键 -> 更多 -> 以管理员身份运行
就会看到如图
![](https://upload-images.jianshu.io/upload_images/10018816-be03ae9ce35dda3f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/383/format/webp)
image.png
再次运行那命令: python -m pip install --upgrade pip
就会成功了。
如果还不行,你是不是没交网费?