pip设置阿里云的镜像源,速度超级快

众所周知,pip默认源的速度是相当慢的,提高速度,用以下方法 linux下运行命令 vi ~/.pip/pip.conf 然后写入如下内容并保存[global]trusted-host = mirrors.aliyun.comindex-url = http://mirrors.aliyun.com/pypi/simple 速度如图 关键字:Python, pip, 速度

众所周知,pip默认源的速度是相当慢的,提高速度,用以下方法

linux下运行命令
vi ~/.pip/pip.conf
然后写入如下内容并保存

 [global]
 trusted-host =  mirrors.aliyun.com
 index-url = http://mirrors.aliyun.com/pypi/simple

速度如图

关键字:Python, pip, 速度, #index-url#