pip安装三方库报错pip is configured with locations that require TLS/SSL

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

mkdir -p ~/.pip

vim ~/.pip/pip.conf

编辑内容:

[global]

index-url = http://mirrors.aliyun.com/pypi/simple/

[install]

trusted-host = mirrors.aliyun.com

保存,再次执行安装命令

你可能感兴趣的:(pip,ssl,python)