pip is configured with locations that require TLS/SSL,the ssl module in Python is not available
python缺少SSL模块,pip默认安装源为https://pypi.org/simple/,连接是需要SSL库,写配置文件修改为阿里安装源。
pip config --global set global.index-url Simple Index
观察到配置被写入以下文件:
记事本打开pip.ini文件,在末行添加
[install]
trusted-host = mirrors.aliyun.com