Python pip安装或更新出现延时问题
https://www.cnblogs.com/yjd_hycf_space/p/9408524.html
引用该链接博主的方法
解决办法
换国内镜像源:
将原来的命令pip install tensorflow-gpu换成pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu,这样就会从清华的镜像源下载最新版本的tensorflow-gpu的whl文件并安装。如果需要安装固定的版本,比如1.5.0,还可将命令改为pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow-gpu==1.5.0,这样的话pip安装一定会快的飞起。
原因
资源在国外,国内下载资源很慢