最近实测发现,pip百度镜像源速度相当稳定可靠,具体做法:
第一步: pip config set global.index-url https://mirror.baidu.com/pypi/simple

第二步,打开pip.ini文件,增加trusted-host,如下:

第三步,安装tensorflow,pip install tensorflow 测试一下速度,6.8MB/s 接近我家带宽的极限,如下:

最近实测发现,pip百度镜像源速度相当稳定可靠,具体做法:
第一步: pip config set global.index-url https://mirror.baidu.com/pypi/simple
第二步,打开pip.ini文件,增加trusted-host,如下:
第三步,安装tensorflow,pip install tensorflow 测试一下速度,6.8MB/s 接近我家带宽的极限,如下:
本文标题:永久设置pip百度镜像源
本文链接:https://www.haomeiwen.com/subject/vsvjyltx.html
网友评论