CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue 问题解决

这篇具有很好参考价值的文章主要介绍了CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue 问题解决。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

conda 环境报错如下:

(base) root@dell:/home/yuanzefu/llama# conda create -n llama2
Collecting package metadata (current_repodata.json): done
Solving environment: done

CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue.

Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/linux-64/current_repodata.json (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

网上找到的参考链接,可以根据链接配置一下 proxy_servers 和 ssl_varify。

https://stackoverflow.com/questions/31729076/conda-ssl-error

如果问题解决不了,查看一下环境变量。如果你本地的代理没有启动 https,那把 https 的链接改为 http。

cat ~/.condarc

proxy_servers:
  http: http://127.0.0.1:1234
  https: https://127.0.0.1:1234
ssl_verify: false
channel_priority: flexible
channels:
  - http://repo.anaconda.com/pkgs/main
  - defaults

proxy_servers:
  http: http://127.0.0.1:1234
  https: http://127.0.0.1:1234
ssl_verify: false
channel_priority: flexible
channels:
  - http://repo.anaconda.com/pkgs/main
  - defaults

End~文章来源地址https://www.toymoban.com/news/detail-679046.html

到了这里,关于CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue 问题解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Docker Desktop-Unexpected WSL error An unexpected error was encountered while executing a WSL comman

    windows安装docker报错: Docker Desktop - Unexpected WSL error An unexpected error was encountered while executing a WSL command. Common causes include access rights issues, which occur after waking the computer or not being connected to your domain/active directory. Please try shutting WSL down (wl --shutdown) and/or rebooting your computer. If not suff

    2024年03月10日
    浏览(58)
  • CURL error 60: SSL certificate problem: certificate has expired

    项目使用guzzleHttp做的一个接口,报错:certificate has expired 因为在linux centos环境与window环境有所不同,在此记录一下解决过程。   目录 报错提示 原因 解决方式 1.去掉guzzlehttp的验证 2.更新CA证书 总结 cURL error 60: SSL certificate problem: certificate has expired (see https://curl.haxx.se/libcurl/

    2024年02月02日
    浏览(35)
  • Unity 报错:SSL CA certificate error

    使用UnityWebRequest时出现如下报错: SSL CA certificate error  Curl error 60: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_USER_ERROR1 原因: 证书验证失败 和 SSL CA证书错误 解决方法: 创建一个如下的类: 在代码中使用: 通过以上方式就能解决。

    2024年04月08日
    浏览(55)
  • SSL Error:Self signed certificate问题分析及解决

    问题发现 使用Postman工具向后台发送数据时,数据一直到不了后台,并且一直报错“ SSL Error:Self signed certificate | Disable SSL Vertification ”现象,如下图: 问题分析 自从安装Postman工具后,所有配置均采用默认配置,对比其他正常接口的传参和token也并未发现异常的地方,因此,

    2024年02月02日
    浏览(29)
  • ERROR 2026 (HY000): SSL connection error: error:0A000086:SSL routines::certificate verify failed

    mysql --ssl-ca=ca.pem --ssl-cert=client-cert.pem --ssl-key=client-key.pem -uroot -pPam_2022 mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2026 (HY000): SSL connection error: error:0A000086:SSL routines::certificate verify failed 当使用MySQL和SSL进行连接并遇到 ERROR 2026 (HY000): SSL connection error: error:

    2024年02月03日
    浏览(32)
  • repo init报error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

    在ubuntu执行repo init的时候报了repo init报error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed这种错误,解决方法是需要更新本地证书。问题现象以及解决方法如下所示: 安装证书 更新本地证书

    2024年02月05日
    浏览(36)
  • python https urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

    Python 2.7.9 之后引入了一个新特性,当使用urllib.urlopen打开一个 https 链接时,会验证一次 SSL 证书。而当目标网站使用的是自签名的证书时就会抛出一个 urllib2.URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 的错误 解决方案 1.局部处理方案 使用ssl创建未经验证的

    2024年02月05日
    浏览(28)
  • 解决 cURL error 60: SSL certificate problem: unable to get local issuer certificate

    异常抛出 cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) 报错原因:因为没有配置信任的服务器HTTPS验证。默认情况下,cURL被设为不信任任何CAs,因此浏览器无法通过HTTPs访问你服务器。  1.下载证书 2.下载后放入PHP扩展

    2024年02月07日
    浏览(44)
  • “URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed“问题解决

    在使用Docker进行深度学习环境搭建时,出现此类报错,故寻找解决方法。 urlopen https时需要验证SSL的证书,当网络使用自签名的证书会报错。 在Python脚本中,添加下列代码 再次运行,问题解决。 在使用Docker进行深度学习环境搭建时,出现SSL报错,解决方法如上。

    2024年02月11日
    浏览(28)
  • [postman] SSL Error: Unable to verify the first certificate(已解决)

    记录一次解决的由ssl证书带来的问题,以及解决历程。 问题的产生的原因是这样的,客户想给项目迁移服务器。也是按照之前服务器的配置方式,tomcat、jdk、nginx、maven等等也是用过 scp命令进行同步的,因为用scp命令能保证 文件的权限也不会变。客户这面也提供了 https的ss

    2024年02月12日
    浏览(45)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包