python - Anaconda使用conda連接網(wǎng)絡(luò)出現(xiàn)錯(cuò)誤
問題描述
我使用的是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] ’,)))',),)
求問這個(gè)問題怎么解決啊?我各種網(wǎng)站都找遍了。
問題解答
回答1:https://zhuanlan.zhihu.com/p/...沒用過,在知乎上看到這個(gè)文檔,希望有幫助。從報(bào)錯(cuò)信息來看,是網(wǎng)絡(luò)鏈接問題。
回答2:你設(shè)置了代理或者vpn?手工打開網(wǎng)頁試試
相關(guān)文章:
1. javascript - 如何讓移動(dòng)端網(wǎng)頁的輸入框固定在底部?2. MySQL中無法修改字段名的疑問3. angular.js - angular內(nèi)容過長展開收起效果4. Matlab和Python編程相似嗎,有兩種都學(xué)過的人可以說說嗎5. javascript - 微信小程序封裝定位問題(封裝異步并可能多次請(qǐng)求)6. 大家好,請(qǐng)問在python腳本中怎么用virtualenv激活指定的環(huán)境?7. 請(qǐng)教各位大佬,瀏覽器點(diǎn) 提交實(shí)例為什么沒有反應(yīng)8. python的前景到底有大?如果不考慮數(shù)據(jù)挖掘,機(jī)器學(xué)習(xí)這塊?9. mysql - 怎么讓 SELECT 1+null 等于 110. javascript - 微信小程序限制加載個(gè)數(shù)
