[英]Getting Conda HTTP Error in Windows while trying to update any package
我不明白為什么會出現 conda http 錯誤。
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
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.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https://repo.anaconda.com/pkgs/main/win-64'
我可以使用瀏覽器清楚地從 go 到https://repo.anaconda.com/pkgs/main/win-64 ,並且能夠從那里下載任何 package 或文件。
我不知道我組織的代理服務器,否則我會嘗試更新https://docs.anaconda.com/anaconda/user-guide/tasks/proxy/中提到的 updating.condarc。
有沒有辦法在 windows 中解決這個問題,這樣我就不必在每次更新 package 或創建 conda 環境時都調用它?
在此先感謝您提供任何幫助。
錯誤可能是由於您的防火牆引起的(而不是由於代理服務器引起的)。 如果是這種情況,永久解決方案可以是允許 .exe 程序通過防火牆。
作為一個方面,不是 inte.net 談論禁用 ssl in.condarc - 但不推薦這樣做(至少它對我沒有幫助)。 大多數情況下,您不需要 tweak.condarc。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.