pip安装tensorflow下载速度慢

安装了pip工具之后,其默认的包下载路径为python官网,但下载速度龟慢,且连接不稳定,经常应为连接超时而失败。

提高下载速度可以使用国内的镜像站,常用的镜像库有阿里、豆瓣和清华等。

例如:

阿里云 
http://mirrors.aliyun.com/pypi/simple/

中国科技大学 
https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) 
http://pypi.douban.com/simple/

清华大学 
https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 
http://pypi.mirrors.ustc.edu.cn/simple/

 


版权声明:本文为zcawesome原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。