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

发布时间 2023-07-10 11:35:31作者: 小七Libra

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