pip 安装包报错 pip is configured with locations that require TLS/SSL, however the ss

255 阅读1分钟

报错 :pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

先尝试其他办法

  1. 重新编译python
  2. 更新pip【也可能上方的错误,可以下载包本地更新】

最后发现还是不行 pip3 install faker -i mirrors.aliyun.com/pypi/simple… --trusted-host mirrors.aliyun.com

在最后加上 --trusted-host mirrors.aliyun.com