anaconda配置完清华源后使用pip依旧速度很慢解决方式

anaconda配置完清华源后使用pip依旧速度很慢解决方式

1. 问题1:背景重新安装anaconda时使用pip安装库出现以下情况:

解决方式: 参考博客:更换镜像源 解决下载问题。

2. 问题2:解决了下载问题,但是下载速度很慢很慢,如下图:

解决方法: 之后测试在pip install xxxx 加上-i https://pypi.tuna.tsinghua.edu.cn/simple速度非常快,于是在参考博客:其中采用永久配置清华源,解决下载速度慢问题,指令如下:

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

其中清华源可改为其他源。

该博客为记录踩坑过程,希望可以解决出现相同情况的伙伴们的问题。