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)題怎么解決啊?我各種網(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. css3 - flex兩端布局2. dockerfile - 我用docker build的時(shí)候出現(xiàn)下邊問(wèn)題 麻煩幫我看一下3. javascript - 原生APP內(nèi)嵌H5頁(yè)面分享到微信朋友圈,二次分享問(wèn)題。4. css3 - <img>圓角屬性在手機(jī)瀏覽器顯示不全5. docker綁定了nginx端口 外部訪問(wèn)不到6. javascript - 如何更改瀏覽器默認(rèn)字體大小7. node.js - vue中 post數(shù)據(jù)遇到問(wèn)題8. PHP單例模式9. html - 在一個(gè)table表單中 td用v-for 使用v-if判斷是否顯示 然后用一個(gè)外部的button 判斷點(diǎn)擊最后一行隱藏10. javascript - 如何讓手機(jī)端的代碼只能在手機(jī)端執(zhí)行,在pc端的模擬器里面也不執(zhí)行
