下面的官方说法是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
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/5394.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~