运行Python程序时,出现以下问题:
urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with 'OpenSSL 1.1.0h
这是因为urllib3和openSSL版本不兼容
解决方法:
把urllib3降级,执行代码:
pip install urllib3==1.26.15
参考链接:https://blog.csdn.net/panpan_bnu/article/details/136642717