pip更换镜像库安装程序((Retry(total=4, connect=None, read=None, redirect=None, status=None))

僤鯓⒐⒋嵵緔 提交于 2020-02-28 14:41:32

1、更换镜像源,国内的pip源如下:

阿里云 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/
 

2、若出现镜像库不是受信任的或安全的主机提示。

使用“–trusted host “镜像库地址””允许此警告。

 

all::pip install tensorflow==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn/simple/(其中的tensorflow==1.13.1 是你需要下载的,根据自己需求自行更改)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!