解决:pip is configured with locations that require TLS/SSL

解决:

mkdir -p ~/.pip
vim ~/.pip/pip.conf

然后输入内容:

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

[install]
trusted-host = mirrors.aliyun.com

再次使用pip安装即可。

posted @ 2023-04-06 13:43  牧之丨  阅读(23)  评论(0编辑  收藏  举报