ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compiled with

这篇具有很好参考价值的文章主要介绍了ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compiled with。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

运行python脚本时报如下错误

ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0.2k-fips  26 Jan 2017'. See: https://github.com/urllib3/urllib3/issues/2168

解决方法:

pip install urllib3==1.26.15

参见:

报错:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compiled wi_请叫漂亮的博客-CSDN博客文章来源地址https://www.toymoban.com/news/detail-735348.html

到了这里,关于ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compiled with的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

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

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

相关文章

  • Python报错ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compil

    运行openai模块时,报错 ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with LibreSSL 2.8.3. 可以在解释器中将urllib3指定版本号

    2024年02月11日
    浏览(36)
  • 报错:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module is compiled wi

    报错: ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with OpenSSL 1.1.0h 27 Mar 2018. 解决办法 : Terminal窗口执行:pip install urllib3==1.26.15 Urllib3是一个功能强大,用于HTTP客户端的Python库,它包含4个模块: 安装命令: 安装命令:pip install urllib3 urllib3发送

    2024年02月13日
    浏览(32)
  • ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+

    该错误提示表示您的 OpenSSL 版本过低,无法兼容 urllib3 v2.0。 解决此问题的方法是升级您的 OpenSSL 版本至 1.1.1 或以上。具体操作如下: 方法一: 检查您的 OpenSSL 版本,使用以下命令: openssl version 如果您的 OpenSSL 版本低于 1.1.1,可以使用以下方式升级: 安装完毕后,再次运

    2024年02月06日
    浏览(35)
  • python报错:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+

    python3 安装了requests ( pip install requests ) 说明:requests包引入了urllib3,而新版本的urllib3 需要OpenSSL 1.1.1+以上版本,否则报错: ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with ‘OpenSSL 1.0.2k-fips 26 Jan 2017’. See: https://github.com/urllib3/urllib3/issues/21

    2024年02月13日
    浏览(30)
  • python报错:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1

    python报错:ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+ 问题分析 说明:requests包引入了urllib3,而新版本的urllib3 需要OpenSSL 1.1.1+以上版本,否则报错: ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with ‘OpenSSL 1.0.2k-fips 26 Jan 2017’. See: https://github.c

    2024年02月09日
    浏览(34)
  • ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+报错解决

    ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the \\\'ssl\\\' module is compiled with \\\'OpenSSL 1.1.0h  27 Mar 2018\\\'. See: https://github.com/urllib3/urllib3/issues/2168 urllib库版本不兼容,升级一下即可 重新下载urllib库 pip install urllib3==1.25.10 -i https://pypi.tuna.tsinghua.edu.cn/simple

    2024年02月05日
    浏览(35)
  • 解决python urllib3 v2.0 only supports OpenSSL 1.1.1+, currently

    上面语句不能执行的话尝试下面这一条 还是不行尝试 升级openssl

    2024年02月11日
    浏览(50)
  • python 问题修复ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+

    这个问题时python版本安装的 urllib3版本过高,而openssl版本太低导致的 解决无非两种方法,降低urllib3版本或者升级openssl版本 升级openssl版本 降低urllib版本

    2024年02月11日
    浏览(33)
  • Linux学习36- python3.9出现ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+

    python3.9上安装requests 库,requests包引入了urllib3,而新版本v2.x的urllib3 需要OpenSSL 1.1.1+以上版本 所以就出现了报错 因为我们通过yum安装的openssl-devel版本是1.0.2k 解决办法有2种: 第一种是降级urllib3版本即可 这样也就避免了版本冲突问题 第二种办法是升级OpenSSL 1.1.1+以上版本,此

    2024年02月03日
    浏览(50)
  • 运行python脚本,NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl‘ module

    /Library/Python/3.9/site-packages/urllib3/init.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the \\\'ssl\\\' module is compiled with \\\'LibreSSL 2.8.3\\\'. See: urllib3=2.0 does not work with system Python on macOS · Issue #3020 · urllib3/urllib3 · GitHub 卸载: sudo pip uninstall urllib3 在安装低版本的urllib3 再运行pyt

    2024年02月05日
    浏览(30)

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

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

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

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

二维码1

领取红包

二维码2

领红包