python - Anaconda使用conda连接网络出现错误
迷茫
迷茫 2017-04-18 10:26:28
0
2
1679

我使用的是windows10 64bit下的Anaconda2,在安装和更新包的时候出现以下报错信息。
这是使用默认源安装包的报错信息:
C:Usersning0>conda install numpy
Fetching 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 numpy
Fetching 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] ',)))",),)

求问这个问题怎么解决啊?我各种网站都找遍了。

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

全部回覆(2)
小葫芦

https://zhuanlan.zhihu.com/p/...
沒用過,在知乎上看到這個文檔,希望有幫助。
從報錯資訊來看,是網路連結問題。

洪涛

你設定了代理或vpn?手開網頁試試

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板