mac pip3 openssl 报错 pip is configured with locations that require TLS/SSL

把pip源换成阿里的就好了,原来的要用ssl模块,换了就不用了

新建~/.pip/pip.conf文件
写入

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
发布了1142 篇原创文章 · 获赞 196 · 访问量 260万+

猜你喜欢

转载自blog.csdn.net/guotong1988/article/details/103005311