首页 > 其他分享 >anaconda运行install命令报错:Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_

anaconda运行install命令报错:Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_

时间:2023-06-03 09:23:28浏览次数:62  
标签:certificate get verify 报错 https anaconda notices conda channel

 

 

运行命令:

conda install mpi4py

 

报错:

Retrieving notices: ...working... ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/main/notices.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))> for channel: defaults url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/notices.json
ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/msys2/notices.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))> for channel: defaults url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/notices.json
ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/free/notices.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))> for channel: defaults url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/notices.json
ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/pro/notices.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))> for channel: defaults url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/notices.json
ERROR conda.notices.fetch:get_channel_notice_response(63): Request error <HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/pkgs/r/notices.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)')))> for channel: defaults url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/notices.json
done

 

 

 

解决方法:

设置环境变量,在shell终端输入下面命令:

 

export REQUESTS_CA_BUNDLE=

export CURL_CA_BUNDLE=

 

 

 

 

 

 

 

 

====================================

 

 

参考:

https://blog.csdn.net/jsf06/article/details/129328411

 

标签:certificate,get,verify,报错,https,anaconda,notices,conda,channel
From: https://www.cnblogs.com/devilmaycry812839668/p/17453294.html

相关文章

  • TS中一些常见报错的写法修正
    Cannotinvokeanobjectwhichispossibly‘undefined‘在openSpeedUpModal方法后面加上!openSpeedUpModal!(record.id,record.priority)参考:https://flowus.cn/46989933-affc-40a1-b9ab-76c72b061381#1db40beb-601f-4054-8b39-1ef64f36839c......
  • bootstrap.bundle.min.js bootstrap.bundle.min.js.map 404报错
    main.js导入 import'./assets/bootstrap.bundle.min.js'浏览器报如下告警信息:DevToolsfailedtoloadsourcemap:Couldnotloadcontentforhttp://localhost:5173/src/assets/bootstrap.bundle.min.js.map:HTTP错误:状态代码404,net::ERR_HTTP_RESPONSE_CODE_FAILU......
  • vue-element-admin安装依赖报错问题
    vue-element-admin安装依赖的时候报以下错误npmERR!codeENOENTnpmERR!syscallspawngitnpmERR!pathgitnpmERR!errno-4058npmERR!enoentAnunknowngiterroroccurrednpmERR!enoentThisisrelatedtonpmnotbeingabletofindafilenpmERR!enoentnpmE......
  • 关于python下载pyautogui库报错【ERROR: Command errored out with exit status 1:】
    问题出现: 解决方案:先执行该命令  【pipinstall--upgradesetuptools&&python-mpipinstall--upgradepip】之后再重新执行下载命令  【pipinstallpyautogui-ihttps://pypi.tuna.tsinghua.edu.cn/simple】即可......
  • 导入keras报错Process finished with exit code -1073741819 (0xC0000005)
    1. 遇到报错问题导入keras报错Processfinishedwithexitcode-1073741819(0xC0000005) 查看chatgpt后,给出的解答如下:2.  tensorflow与keras兼容问题关于版本兼容问题,以下是chatGPT3.5给的答案,具体更多兼容版本对应关系可以查看文章末尾的链接。 3.......
  • npm安装淘宝镜像cnpm报错:npm ERR! Windows_NT 10.0.19045
    1、报错信息如下:npmERR!Windows_NT10.0.19045...2、原因,环境没配好3、解决:配置环境变量系统变量:①新建-变量名:NODE_HOME;变量值:D:\node-v14.18\nodeInstall\node-v14.18.2-win-x64node根目录下,新建两个目录,分别命名为:”node_global”、”node_cache”②path......
  • 传奇Hero引擎报错is not a valid date and time怎么解决?
    isnotavaliddateandtime翻译成中文的意思为不是有效的时间格式,当引擎启动时会提示如下造成这种原因并不是引擎本身有什么问题,而是我们之前使用了其它的引擎,使!setup.txt下的DayOfGuildFountain=2017-12-16 13:58:02,时间格式改变了引擎官方给出的格式是:HH:mm:ss短日期格式:y......
  • ubuntu16 python2 安装M2Crypto报错
    正文pip2installM2Crypto#报错:#unabletoexecute'swig':Nosuchfileordirectory#error:command'swig'failedwithexitstatus1#解决:sudoaptinstallswig#继续pip2installM2Crypto,又报错:#src/SWIG/_m2crypto_wrap.c:149:21:fat......
  • 2023-06-02 hexo更换主题后报错
    具体报错如下:{%extends'_layout.swig'%}{%import'_macro/post.swig'aspost_template%}{%import'_macro/sidebar.swig'assidebar_template%}{%blocktitle%}{{config.title}}{%iftheme.index_with_subtitleandconfig.subti......
  • ubuntu报错:The following signatures couldn't be verified because the public key i
    当在ubuntu中加入了第三方源,没有设置公钥更新索引的时候就会提示Thefollowingsignaturescouldn'tbeverifiedbecausethepublickeyisnotavailable:NO_PUBKEY082AB56BA14FE591Readingpackagelists...DoneW:GPGerror:http://mirrors.tuna.tsinghua.edu.cn/za......