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. docker - 如何修改运行中容器的配置2. docker-compose 为何找不到配置文件?3. dockerfile - 我用docker build的时候出现下边问题 麻烦帮我看一下4. docker绑定了nginx端口 外部访问不到5. docker start -a dockername 老是卡住,什么情况?6. docker images显示的镜像过多,狗眼被亮瞎了,怎么办?7. docker镜像push报错8. 前端 - css中关于设置透明度的问题,有点混乱9. 计算机 - 我学习了C语言,数据结构和一点点java基础,想自学C++,请问买什么入门书籍好?10. 为什么我ping不通我的docker容器呢???
