python - Anaconda使用conda连接网络出现错误
问题描述
我使用的是windows10 64bit下的Anaconda2,在安装和更新包的时候出现以下报错信息。这是使用默认源安装包的报错信息:C:Usersning0>conda install numpyFetching package metadata ...
CondaHTTPError: HTTP None None for url https://repo.continuum.io/pkg...Elapsed: None
An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will get you on your way.ProxyError(MaxRetryError('HTTPSConnectionPool(host=’repo.continuum.io’, port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by ProxyError(’Cannot connect to proxy.’, NewConnectionError(’<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000048F3048>: Failed to establish a new connection: [Errno 10061] ’,)))',),)
下面是使用清华大学的镜像安装的报错信息:C:Usersning0>conda install numpyFetching package metadata ...
CondaHTTPError: HTTP None None for url https://mirrors.tuna.tsinghua...Elapsed: None
An HTTP error occurred when trying to retrieve this URL.HTTP errors are often intermittent, and a simple retry will get you on your way.ProxyError(MaxRetryError('HTTPSConnectionPool(host=’mirrors.tuna.tsinghua.edu.cn’, port=443): Max retries exceeded with url: /anaconda/pkgs/free/win-64/repodata.json (Caused by ProxyError(’Cannot connect to proxy.’, NewConnectionError(’<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x0000000004B19438>: Failed to establish a new connection: [Errno 10061] ’,)))',),)
求问这个问题怎么解决啊?我各种网站都找遍了。
问题解答
回答1:https://zhuanlan.zhihu.com/p/...没用过,在知乎上看到这个文档,希望有帮助。从报错信息来看,是网络链接问题。
回答2:你设置了代理或者vpn?手工打开网页试试
相关文章:
1. 点字符“” 在MVC Web API 2中进行请求,例如api / people / STAFF.452872. javascript - thymeleaf模板 只有length如何循环生成标签?3. javascript - node如何关闭主进程后 打开另一进程?4. 求大神指点js修改margintop导致无限下滑的问题5. node.js - 我是一个做前端的,求教如何学习vue,node等js引擎?6. golang - 用IDE看docker源码时的小问题7. docker - 各位电脑上有多少个容器啊?容器一多,自己都搞混了,咋办呢?8. java - 在Spring初始化过程中阻塞合理吗?9. web服务器 - ubuntu下布置apache加wsgi加python10. python2.7为什么点击了"开始"按钮后,tkinter上的按钮,图中红色部分,再也点不动了?

网公网安备