zoukankan      html  css  js  c++  java
  • PIP安装时报The repository located at pypi.douban.com is not a trusted or secure host and is being ignore

    C:WINDOWSsystem32>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:Userszpcpipdownload_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

  • 相关阅读:
    Vue.js监听事件
    Vue.js组件传值
    Vue.js安装
    C#中输入法全角转换半角
    文件夹操作
    转JSON字符串,并进行AES加密
    ReportView报表的使用
    c++读入优化
    快读板子
    【转】2020年 大二上 ACM
  • 原文地址:https://www.cnblogs.com/zhang-pengcheng/p/8052181.html
Copyright © 2011-2022 走看看