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

报错:

ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, 
currently the ‘ssl’ module is compiled with OpenSSL 1.1.0h 27 Mar 2018.

解决办法:将urllib3的版本降低

pip install urllib3==1.26.15

参考

  • 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’

你可能感兴趣的:(Python,ssl,网络协议,网络)