久久久久久久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>的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

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

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',))",),)

我在他們的問題跟蹤器中詳細發布了這個問題: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

正如問題跟蹤器中提到的,我已經嘗試過重置 ssl、添加 condarc 文件等.但到目前為止還沒有運氣.我的代理按預期工作,并且我在 condarc 文件中的條目是正確的.也可以通過瀏覽器毫無問題地訪問連續存儲庫.

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 之類的命令都不起作用,并且在執行時會給出相同的錯誤堆棧.

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

這里可能出了什么問題?

What might be going wrong here?

推薦答案

顯然,condarc 文件已更新并重寫為空我運行配置命令時的文件.我嘗試運行代理設置和通過命令行受信任的主機,但它不起作用.但后來發現通過命令行調用受信任主機已停止,因此我在 pip.ini 文件中添加了相同的內容.之后就成功了!

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 問題跟蹤器 中提到的,我在下面的 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

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

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

相關文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時出現問題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節點)
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應并將元素值存儲在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對象)
主站蜘蛛池模板: 精品一区二区三区四区外站 | 国产一区二区三区 | 黄色大片视频 | 狠狠色狠狠色综合日日92 | 亚洲高清av | 精品毛片视频 | 精品九九在线 | 国产精品亚洲视频 | 国产精品久久久久久吹潮 | 国产精品久久国产精品 | 精品福利在线 | 色精品 | 欧美性乱 | 国产在线激情视频 | 国产成人精品一区二区三区四区 | 日本h片在线观看 | 成人在线视频一区 | 成年人国产在线观看 | 69亚洲精品| 久久久久久www | 天天干天天爱天天 | 亚洲成人av在线播放 | 国产免费看 | 特级黄一级播放 | 国产精品日韩欧美一区二区 | 久久毛片 | 欧美片网站免费 | 亚洲视频一区在线 | 99福利视频 | 在线看av网址 | 免费在线观看一区二区三区 | 成年人视频在线免费观看 | 精品综合久久 | www.国产| 亚洲人在线观看视频 | 国产高清视频 | 亚洲欧美日韩电影 | 91精品国产综合久久久久久蜜臀 | 在线视频99| 夜夜爽99久久国产综合精品女不卡 | 成人网在线观看 |