mac解决pycharm运行报错NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled

mac解决pycharm运行报错NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled

第一步:卸载 urllib3

  pip3 uninstall urllib3

第二步:重新安装

pip install urllib3==1.23 -i https://pypi.tuna.tsinghua.edu.cn/simple

此时重新运行再试

--- 如果还是报错,尝试升级openssl

posted @ 2023-07-10 11:30  小七Libra  阅读(3836)  评论(0编辑  收藏  举报