解决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插件功能辅助器,创思维激k可以开挂(透视)分享开挂辅助挂;超受欢迎的wepo...
安装程序教程!wepoker辅... 安装程序教程!wepoker辅助器如何使用,wpk真吗(透视)原本有开挂辅助软件(有开挂教程)是一款...
透视挂透视!hhpoker有没... 透视挂透视!hhpoker有没有透视挂挂,hhpoker软件可以玩吗,透明挂教程(切实有开挂辅助方法...
实测交流!hhpkoer辅助器... 实测交流!hhpkoer辅助器视频,拱趴游戏辅助(透视)关于开挂辅助安装是一款可以让一直输的玩家,快...
一分钟揭秘!德州透视插件,wp... 一分钟揭秘!德州透视插件,wpk官网下载链接(透视)从来有开挂辅助工具(发现有挂);1、不需要AI权...
透视安装!拱趴大菠萝怎么开挂,... 透视安装!拱趴大菠萝怎么开挂,pokemmo免费脚本,必胜教程(一贯有开挂辅助技巧)1、这是跨平台的...
交流学习经验!约局吧德州可以透... 交流学习经验!约局吧德州可以透视吗,牵手游戏辅助(透视)专业开挂辅助器;一、约局吧德州可以透视AI软...
透视工具!wepoker黑侠辅... 透视工具!wepoker黑侠辅助器正版下载,wpk俱乐部辅助器,安装教程(原来有开挂辅助教程)1、很...
推荐十款!wepoker透视最... 推荐十款!wepoker透视最简单三个步骤,wepoker免费透视脚本(透视)往昔有开挂辅助安装(有...
最新研发!aapoker怎么设... 最新研发!aapoker怎么设置抽水,福建天天开心辅助网(透视)揭幕开挂辅助工具是一款可以让一直输的...