当前位置: 代码迷 >> 综合 >> conda create报错,解决
  详细解决方案

conda create报错,解决

热度:3   发布时间:2023-12-16 04:22:21.0

问题描述

Fetching package metadata .......
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://nanomirrors.tuna.tsinghua.edu.cn/anaconda/cloud/linux-64/rpodata.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.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='nanomirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceded with url: /anaconda/cloud/linux-64/repodata.json (Caused by ConnectTimeoutError(<requests.packages.urllib3.connecton.VerifiedHTTPSConnection object at 0x7fb6d340dcc0>, 'Connection to nanomirrors.tuna.tsinghua.edu.cn timed out. (connct timeout=9.15)'))",),)

尝试解决方案

1.尝试了挂代理,关代理-----不行
2.尝试了网上各种给condarc换源,改参数-----不行(想吐槽一下,网上那帮人,博客抄来抄去,都是一个结果,还解决不了问题,真的难受)

最终解决方案

删掉了.condarc文件就OK了。

  相关解决方案