久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <ht

CondaHTTPError: HTTP 000 CONNECTION FAILED for url lt;https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2gt;(CondaHTTPError: HTTP 000 CONNECTION FAILED for url lt;https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2gt;) - IT屋-程
本文介紹了CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2>的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

我需要安裝 Tensorflow,并嘗試先添加環(huán)境.但我收到 HTTP 連接失敗錯(cuò)誤.我支持公司代理,并且已經(jīng)在 .condarc 文件中很好地定義了它們.這是我得到的錯(cuò)誤:

I need to install Tensorflow and was trying to add up environment first. But I get HTTP Connection Failed error. I'm behind a corporate proxy and already defined them well in .condarc file. Here is the error I'm getting:

C:UsersRahulDownloads>conda create -n tensorflow python=3.6 anaconda
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url 
<https://repo.continuum.io/pk
gs/r/win-64/repodata.json.bz2>
Elapsed: -
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.
ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.continuum.io, por
t=443): Max retries exceeded with url: /pkgs/r/win-64/repodata.json.bz2 (Caused
by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0
000001A00393C88>: Failed to establish a new connection: [Errno 11002] getaddrinf
o failed',))",),)

我在他們的問(wèn)題跟蹤器中詳細(xì)發(fā)布了這個(gè)問(wèn)題:https://github.com/conda/conda/issues/7283

I posted this issue in their issue tracker here in detail: https://github.com/conda/conda/issues/7283

正如問(wèn)題跟蹤器中提到的,我已經(jīng)嘗試過(guò)重置 ssl、添加 condarc 文件等.但到目前為止還沒(méi)有運(yùn)氣.我的代理按預(yù)期工作,并且我在 condarc 文件中的條目是正確的.也可以通過(guò)瀏覽器毫無(wú)問(wèn)題地訪問(wèn)連續(xù)存儲(chǔ)庫(kù).

As mentioned in issue tracker, I already tried resetting ssl, adding condarc file etc. But no luck so far. My proxy is working as expected and my entries in condarc file are correct. Also continuum repository is accessible via browser without issues.

conda updateconda install 之類的命令都不起作用,并且在執(zhí)行時(shí)會(huì)給出相同的錯(cuò)誤堆棧.

None of the commands like conda update or conda install works and gives the same error stack while executing.

這里可能出了什么問(wèn)題?

What might be going wrong here?

推薦答案

顯然,condarc 文件已更新并重寫為空我運(yùn)行配置命令時(shí)的文件.我嘗試運(yùn)行代理設(shè)置和通過(guò)命令行受信任的主機(jī),但它不起作用.但后來(lái)發(fā)現(xiàn)通過(guò)命令行調(diào)用受信任主機(jī)已停止,因此我在 pip.ini 文件中添加了相同的內(nèi)容.之后就成功了!

Apparently, the condarc file was updated and rewritten as an empty file while I ran config command. I tried running proxy settings and trusted host through command line, but it doesn't work. But then found that invoking trusted host through command line is discontinued and so I added the same in pip.ini file. After that it worked!

就像我在 GitHub 問(wèn)題跟蹤器 中提到的,我在下面的 pip 中添加了.ini,它工作了

Like I mentioned in the GitHub issue tracker, I added below in pip.ini and it worked

trusted-host = pypi.python.org pypi.org files.pythonhosted.org

這篇關(guān)于CondaHTTPError: HTTP 000 CONNECTION FAILED for url &lt;https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2&gt;的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時(shí)出現(xiàn)問(wèn)題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節(jié)點(diǎn))
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應(yīng)并將元素值存儲(chǔ)在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標(biāo)記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對(duì)象)
主站蜘蛛池模板: 精品国产一区二区三区久久久四川 | 欧美性大战xxxxx久久久 | 免费午夜电影 | 欧美亚洲视频 | 国产精品二区三区在线观看 | 亚洲一区在线播放 | 黑人久久久 | 亚洲www.| 日韩三区 | 欧美91 | 久久九九99 | 欧美综合在线视频 | 麻豆av在线免费观看 | www国产亚洲精品久久网站 | 欧美日韩三级 | 日韩在线免费 | 成人精品免费视频 | 欧美成ee人免费视频 | 麻豆精品国产91久久久久久 | 欧美乱码精品一区二区三区 | 日本一区二区三区免费观看 | 欧美精品一区在线发布 | 精品日韩 | 一区二区在线不卡 | 欧美日日日日bbbbb视频 | 欧美成人精品 | 操久久久 | 色婷婷精品久久二区二区蜜臂av | 免费观看一级视频 | 亚洲一区二区视频在线观看 | 亚洲一区二区视频在线观看 | 欧美日韩精品 | 日韩av成人| 久久视频免费看 | 成人午夜精品 | 日韩欧美一区二区三区免费看 | 国产午夜三级一区二区三 | 少妇一级淫片aaaaaaaaa | 岛国av在线免费观看 | 人人做人人澡人人爽欧美 | 黄色在线网站 |