python运行requests报错urllib3 v2.0 与 OpenSSL 1.1.1+问题

python安装运行requests报错:

urllib3 v2.0 only supports OpenSSL 1.1.1+, currently " f"the 'ssl' module is compiled with {ssl.OPENSSL_VERSION}. " "See: https://github.com/urllib3/urllib3/issues/2168"  

解决办法:

安装低版本urllib3 

pip uninstall urllib3 

pip install urllib3 == 1.25.11

posted @ 2024-04-10 09:42  明天OoO你好  阅读(378)  评论(0编辑  收藏  举报