在pycharm运行环境中会遇到如下错误提示:
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with ‘OpenSSL 1.0.2u 20 Dec 2019’.
只需把urllib3版本 退回1.26.18或之前版本即可。
如图所示操作步骤:

本文介绍了在PyCharm运行环境中遇到的关于urllib3版本过高的错误,解决方法是将urllib3版本降级到1.26.18或更低版本,以确保与OpenSSL1.1.1的兼容性。
在pycharm运行环境中会遇到如下错误提示:
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with ‘OpenSSL 1.0.2u 20 Dec 2019’.
只需把urllib3版本 退回1.26.18或之前版本即可。
如图所示操作步骤:

988
1294
1万+
1393

被折叠的 条评论
为什么被折叠?