pip install出错 not a trusted or secure host解决方案
来源:互联网 发布:阿里云2m带宽 编辑:程序博客网 时间:2024/05/16 10:01
使用sudo pip install packname时会提示错误:
The repository located at http://mirrors.aliyun.com** is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with ‘–trusted-host mirrors.aliyun.com’.
解决方法是,修改pip配置文件~/.pip/pip.conf如下:
[global]
timeout = 6000
index-url = http://pypi.douban.com/simple/
[install]
use-mirrors = true
mirrors = http://pypi.douban.com/simple/
trusted-host = pypi.douban.com
阅读全文
0 0
- pip install出错 not a trusted or secure host解决方案
- pip 添加trusted host
- windows下运行pip install Flask-MySQLdb出错---解决方案
- pip install 出错
- pip install mysql-connector-python-rf 出现... not recognised解决方案
- pip install InsecurePlatformWarning: A true SSLContext object is not available.
- windows pip install matplotlib 出错
- Windows7 设置pip 镜像 Pip Warning:–trusted-host 问题解决方案
- python2.7安装 利用pip安装其他镜像配置(解决 Trusted--Host 问题)
- windows上pip install出错怎么办
- 利用pip install scrapy时安装出错
- python pip install readline 运行出错解决办法!
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动tomcat报host-manager does not exist or is not a readable directory异常
- 启动Tomcat报异常host-manager does not exist or is not a readable directory
- 启动tomcat报host-manager does not exist or is not a readable directory异常
- Collection常见问题
- HDU 5616 Jam's balance(简单DP)
- Delphi 访问并打开局域网共享文件夹
- Oracle常用计算函数-yellowcong
- Ubuntu16.04 安装sublime text 3、java、IntelliJ IDEA、Tomcat
- pip install出错 not a trusted or secure host解决方案
- 关于HTML5那些事儿1
- Java四种线程池的使用
- 怎样设置Qt生成的应用程序图标
- iOS 手势识别(点按、长按、轻扫)
- CI等MVC框架中为什么不能有index控制器的原因
- (apue学习)第一章 UNIX基础知识
- 安卓常用的框架总结笔记
- 开通博客之念