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. docker 17.03 怎么配置 registry mirror ?2. javascript - sublime快鍵鍵問題3. javascript - immutable配合react提升性能?4. DADB.class.php文件的代碼怎么寫5. javascript - html5多個(gè)label中其中一個(gè)觸發(fā)change,如何判斷是哪一個(gè)出發(fā)了change6. phpstudy8.1支持win11系統(tǒng)嗎?7. mysql事務(wù)回滾定位8. css - 寫頁面遇到個(gè)布局問題,求大佬們幫解答,在線等,急!~9. 實(shí)現(xiàn)bing搜索工具urlAPI提交10. 配置Apache時(shí),添加對(duì)PHP的支持時(shí)語法錯(cuò)誤

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