解决Anaconda创建环境时出现:CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs
创始人
2025-01-10 03:03:33
0

问题重现:

`提示:使用anaconda创建环境或者安装包时出现:CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/linux-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.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError(‘HTTPSConnectionPool(host=‘repo.anaconda.com’, port=443): Max retries exceeded with url: /pkgs/main/linux-64/repodata.json.bz2 (Caused by SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘ssl3_get_server_certificate’, ‘certificate verify failed’)])”)))’))

在这里插入图片描述


解决方式

  1. 更换清华源:
    conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/      conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/      conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/      conda config --set show_channel_urls yes 

注意:这里建议不要用https,改为http

  1. 将 .condarc 文件中的“- defaults”删除

在这里插入图片描述
3. 重新安装,成功:

在这里插入图片描述


欢迎点赞收藏!!!

相关内容

热门资讯

透视存在!wepoker有没有... 透视存在!wepoker有没有挂,最初存在有挂(透视)安装教程(有挂揭秘)wepoker有没有挂辅助...
透视软件!aapoker辅助怎... 透视软件!aapoker辅助怎么用(透视)插件下载(切实真的有挂)1)aapoker辅助怎么用辅助挂...
透视神器"aapok... 透视神器"aapoker插件下载"好像是有挂(透视)黑科技教程(有挂黑科技)1、打开软件启动之后找到...
透视好牌!hhpoker真的假... 透视好牌!hhpoker真的假的,一贯真的有挂(透视)新2025版(有挂详情)1)hhpoker真的...
透视好牌!aapoker免费透... 透视好牌!aapoker免费透视脚本(透视)辅助(总是存在有挂)小薇(透视辅助)致您一封信;亲爱aa...
透视软件"wepok... 透视软件"wepoker俱乐部辅助"本来存在有挂(透视)揭秘教程(有挂技巧)1、任何wepoker俱...
透视中牌率!拱趴大菠萝万能辅助... 透视中牌率!拱趴大菠萝万能辅助器,原本是有挂(透视)玩家教你(有挂攻略);1、拱趴大菠萝万能辅助器a...
透视安卓版!aapoker能控... 透视安卓版!aapoker能控制牌吗(透视)辅助(一直是有挂)1、aapoker能控制牌吗系统规律教...
透视挂"hhpoke... 透视挂"hhpoker辅助软件"本来是有挂(透视)存在挂教程(有挂脚本)1、实时hhpoker辅助软...
透视黑科技!wepoker怎么... 透视黑科技!wepoker怎么提高运气,真是真的有挂(透视)德州教程(有挂攻略);暗藏猫腻,小编详细...