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. mysql - JAVA怎么实现一个DAO同时实现查询两个实体类的结果集2. sql语句 - 如何在mysql中批量添加用户?3. mysql建表报错,查手册看不懂,求解?4. PHP类属性声明?5. 求大神支招,php怎么操作在一个html文件的<head>标记内添加内容?6. 怎么php怎么通过数组显示sql查询结果呢,查询结果有多条,如图。7. 致命错误: Class ’appfacadeTest’ not found8. 老师们php,插入数据库mysql,都是空的,要怎么解决9. mysql - 数据库建字段,默认值空和empty string有什么区别 11010. phpstady在win10上运行
