您当前的位置: 首页 >  ui

彭世瑜

暂无认证

  • 2浏览

    0关注

    2791博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

pip is configured with locations that require TLS/SSL

彭世瑜 发布时间:2020-04-17 10:09:03 ,浏览量:2

使用pip安装报错

pip is configured with locations that require TLS/SSL
方式一:

安装 openssl-devel 重新编译Python

方式二:

临时使用http源,如果赶时间,可以快速解决问题

pip install supervisor -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

或者修改配置文件

# 文件不存在就新建一个
$ vi ~/.pip/pip.conf
[global]
index-url = http://pypi.douban.com/simple/
trusted-host = pypi.douban.com

参考 Python编程:pip安装第三方模块

关注
打赏
1665367115
查看更多评论
立即登录/注册

微信扫码登录

0.0759s