urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0h 27 Mar 2018'.
时间: 2023-10-14 12:31:43 浏览: 105
I see that you are facing an issue with urllib3 version 2.0. It requires OpenSSL 1.1.1, but currently, your 'ssl' module is compiled with OpenSSL 1.1.0h from March 27, 2018. To resolve this issue, you have a few options:
1. Upgrade OpenSSL: You can try upgrading your OpenSSL version to 1.1.1 or above. You may need to consult the documentation or support resources of your operating system or package manager for instructions on how to do this.
2. Use a different urllib3 version: If upgrading OpenSSL is not feasible, you can try using a different version of urllib3 that is compatible with your current OpenSSL version. You can check the urllib3 documentation or project page for more information on compatible versions.
3. Downgrade OpenSSL: Another option is to downgrade your OpenSSL version to 1.1.0h or an earlier version that is compatible with urllib3 v2.0. Again, you may need to refer to the documentation or support resources for your operating system or package manager for instructions on how to do this.
Remember to carefully consider the security implications of upgrading or downgrading your OpenSSL version and make sure it aligns with your specific requirements.
阅读全文