首页 > 其他 > 详细

PIP安装时报The repository located at pypi.douban.com is not a trusted or secure host and is being ignore

时间:2017-12-17 15:26:37      阅读:1522      评论:0      收藏:0      [点我收藏+]

C:\WINDOWS\system32>pip install scrapy
Collecting scrapy
The repository located at pypi.douban.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 pypi.douban.com‘.
Could not find a version that satisfies the requirement scrapy (from versions: )
No matching distribution found for scrapy

解决方法: 

[global]
index-url=http://pypi.douban.com/simple
timeout = 30
#require-virtualenv = true
download-cache = C:\Users\zpc\pip\download_cache

[install]
use-mirrors = true
mirrors =
http://d.pypi.python.org
http://b.pypi.python.org
http://c.pypi.python.org/simple
trusted-host = pypi.douban.com

PIP安装时报The repository located at pypi.douban.com is not a trusted or secure host and is being ignore

原文:http://www.cnblogs.com/zhang-pengcheng/p/8052181.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!