python - Anaconda使用conda連接網(wǎng)絡(luò)出現(xiàn)錯(cuò)誤
問(wèn)題描述
我使用的是windows10 64bit下的Anaconda2,在安裝和更新包的時(shí)候出現(xiàn)以下報(bào)錯(cuò)信息。這是使用默認(rèn)源安裝包的報(bào)錯(cuò)信息: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] ’,)))',),)
下面是使用清華大學(xué)的鏡像安裝的報(bào)錯(cuò)信息: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] ’,)))',),)
求問(wèn)這個(gè)問(wèn)題怎么解決?。课腋鞣N網(wǎng)站都找遍了。
問(wèn)題解答
回答1:https://zhuanlan.zhihu.com/p/...沒(méi)用過(guò),在知乎上看到這個(gè)文檔,希望有幫助。從報(bào)錯(cuò)信息來(lái)看,是網(wǎng)絡(luò)鏈接問(wèn)題。
回答2:你設(shè)置了代理或者vpn?手工打開(kāi)網(wǎng)頁(yè)試試
相關(guān)文章:
1. node.js - mongodb查找子對(duì)象的名稱為某個(gè)值的對(duì)象的方法2. 在mac下出現(xiàn)了兩個(gè)docker環(huán)境3. 測(cè)試自動(dòng)化html元素選擇器元素ID或DataAttribute [關(guān)閉]4. html5和Flash對(duì)抗是什么情況?5. 運(yùn)行python程序時(shí)出現(xiàn)“應(yīng)用程序發(fā)生異?!钡膬?nèi)存錯(cuò)誤?6. javascript - QQ第三方登錄的問(wèn)題7. spring-mvc - spring-session-redis HttpSessionListener失效8. 利用IPMI遠(yuǎn)程安裝centos報(bào)錯(cuò)!9. 淺談Vue使用Cascader級(jí)聯(lián)選擇器數(shù)據(jù)回顯中的坑10. javascript - 在 model里定義的 引用表模型時(shí),model為undefined。

網(wǎng)公網(wǎng)安備