×

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

hqy hqy 发表于2024-03-11 17:00:05 浏览590 评论0

抢沙发发表评论


下面的官方说法是redhat7升级到8或者9,centos没说,实际可以重新编译python(带ssl参数)和安装对应版本的openssl就解决了。




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

https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html#common-upgrading-issues





推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

本文链接:https://www.jinbel.cn/post/5394.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到:
打赏

群贤毕至

访客

您的IP地址是: