问题描述:Python中在使用pip的下述命令安装第三方库numpy

pip install -U numpy -i http://mirrors.aliyun.com/pypi/simple

出现警告The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored,并且报错 Could not find a version that satisfies the requirement numpy (from versions: none)

解决方法:出现这个问题的原因是pip升级到7.0以后,pip包管理工具直接从镜像源下载相关的依赖库时,所需要的镜像源必须是HTTPS协议的网络地址,不能直接从非HTTPS协议的镜像源地址下载依赖库。如果想从非HTTPS协议的镜像源地址下载依赖库,在使用pip命令下载依赖库的时候需要添加--trusted-host 域名配置

pip install -U numpy -i http://mirrors.aliyun.com/pypi/simple

Python在使用pip安装某个库时报错 Could not find a version that satisfies the requirement numpy相关推荐

  1. python pip安装第三方库老是报错_Python使用pip安装第三方库时报错的解决方案

    报错1: PermissionError: [WinError 5] 报错2: Command... failed with error code 1 in .. 以上两种报错,解决较为简单,主要是权 ...

  2. Python中使用pip安装第三方库报错解决方法

    参考:https://blog.csdn.net/answerxiaoai/article/details/104297187 在安装Google开源维护的算法优化求解器Ortools时出现错误,采用 ...

  3. pip安装第三方库报错Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None))

    pip安装第三方库报错Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) pip安装第三方库时 ...

  4. python 安装 pymssql 库时报错

    python 安装 pymssql 库时报错 安装第三方库 pip install pymssql Traceback (most recent call last): File "c:\u ...

  5. 【昊鼎王五】pip安装pymssql模块时报错“PEP 517”怎么解决?

    [昊鼎王五]pip安装pymssql模块时报错"PEP 517"怎么解决? 背景 在https://blog.csdn.net/haoding205/article/details ...

  6. Linux Python 安装第三方库时报错 package wheel is not installed

    如图,安装第三方库报错 Could not build wheels for pyspider, since package 'wheel' is not installed. Could not b ...

  7. 「Python」Mac下pip出现command not found和Could not find a version that satisfies the requirement ...解决方式

    两个报错的解决方式在第2和3 问题描述 command not found解决方式 Could not find a version that satisfies the requirement... ...

  8. pip安装包报错Could not find a version that satisfies the requirement pymysql (from versions: none)

    使用python自带的pip安装包时,可能会报以下错误: ERROR: Could not find a version that satisfies the requirement pymysql ...

  9. python安装第三方库时报错 SyntaxError: invalid syntax

    如图: 原因是我在Python里面用了pip installxxx 这个命令应该是在cmd中使用的

最新文章

  1. 华为面试题之大整数相加
  2. mac 下系统目录权限问题
  3. CIDetector 相册识别二维码出错
  4. TextView之二:常用属性
  5. 在Websphere 8.0上安装Liferay 6.2 Enterprise Edition
  6. 懒惰的JSF Primefaces数据表分页–第2部分
  7. python风控工具_python-风控模型分析01
  8. 摇号系统怎么做_雨水收集系统怎么做
  9. mysql查看编码_mysql 字符编码的查看与修改
  10. 11.1 LAMP架构介绍 11.2 MySQL、MariaDB介绍 11.3/11.4/11.5 MySQL安装
  11. gRPC python封装深度学习算法教程
  12. 使用 hydra 破解路由器密码
  13. 亚马逊云服务(AWS)机器学习服务Amazon SageMaker发力中国
  14. winform遍历bartender_标签打印软件 - 第25页 共52页 - BarTender
  15. 建议收藏5款办公必备电脑软件
  16. python 输出没有逗号的list_阿博Python之路数据类型(下)以及数据类型转换
  17. weblogic11G bea000449怎么解决
  18. cadence virtuoso前仿出现模型缺失
  19. Android WebView 视频播放解决
  20. 27岁转行软件测试,成功虽晚但不迟,写给跟我一样迷茫的人。

热门文章

  1. 用 Webpack 解决应用性能问题
  2. 无法将文件“ “复制到“bin\*.*”。对路径“bin\*.*”的访问被拒绝。 解决方法
  3. mysql 1053错误,无法启动的解决方法
  4. 工业富联灯塔工厂白皮书:智能制造里程碑.pdf(附下载链接)
  5. ubuntu修改用户的默认目录
  6. 个性化商品搜索相关研究梳理
  7. Transformers Assemble(PART I )
  8. Python程序的执行过程
  9. 吴恩达机器学习编程题ex1上 单变量线性回归: (python版含题目要求、代码、注解)
  10. Python爬虫入门之使用Redis+Flask维护动态代理池