Python在使用pip安装某个库时报错 Could not find a version that satisfies the requirement numpy
问题描述: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相关推荐
- python pip安装第三方库老是报错_Python使用pip安装第三方库时报错的解决方案
报错1: PermissionError: [WinError 5] 报错2: Command... failed with error code 1 in .. 以上两种报错,解决较为简单,主要是权 ...
- Python中使用pip安装第三方库报错解决方法
参考:https://blog.csdn.net/answerxiaoai/article/details/104297187 在安装Google开源维护的算法优化求解器Ortools时出现错误,采用 ...
- 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安装第三方库时 ...
- python 安装 pymssql 库时报错
python 安装 pymssql 库时报错 安装第三方库 pip install pymssql Traceback (most recent call last): File "c:\u ...
- 【昊鼎王五】pip安装pymssql模块时报错“PEP 517”怎么解决?
[昊鼎王五]pip安装pymssql模块时报错"PEP 517"怎么解决? 背景 在https://blog.csdn.net/haoding205/article/details ...
- Linux Python 安装第三方库时报错 package wheel is not installed
如图,安装第三方库报错 Could not build wheels for pyspider, since package 'wheel' is not installed. Could not b ...
- 「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... ...
- 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 ...
- python安装第三方库时报错 SyntaxError: invalid syntax
如图: 原因是我在Python里面用了pip installxxx 这个命令应该是在cmd中使用的
最新文章
- 华为面试题之大整数相加
- mac 下系统目录权限问题
- CIDetector 相册识别二维码出错
- TextView之二:常用属性
- 在Websphere 8.0上安装Liferay 6.2 Enterprise Edition
- 懒惰的JSF Primefaces数据表分页–第2部分
- python风控工具_python-风控模型分析01
- 摇号系统怎么做_雨水收集系统怎么做
- mysql查看编码_mysql 字符编码的查看与修改
- 11.1 LAMP架构介绍 11.2 MySQL、MariaDB介绍 11.3/11.4/11.5 MySQL安装
- gRPC python封装深度学习算法教程
- 使用 hydra 破解路由器密码
- 亚马逊云服务(AWS)机器学习服务Amazon SageMaker发力中国
- winform遍历bartender_标签打印软件 - 第25页 共52页 - BarTender
- 建议收藏5款办公必备电脑软件
- python 输出没有逗号的list_阿博Python之路数据类型(下)以及数据类型转换
- weblogic11G bea000449怎么解决
- cadence virtuoso前仿出现模型缺失
- Android WebView 视频播放解决
- 27岁转行软件测试,成功虽晚但不迟,写给跟我一样迷茫的人。
热门文章
- 用 Webpack 解决应用性能问题
- 无法将文件“ “复制到“bin\*.*”。对路径“bin\*.*”的访问被拒绝。 解决方法
- mysql 1053错误,无法启动的解决方法
- 工业富联灯塔工厂白皮书:智能制造里程碑.pdf(附下载链接)
- ubuntu修改用户的默认目录
- 个性化商品搜索相关研究梳理
- Transformers Assemble(PART I )
- Python程序的执行过程
- 吴恩达机器学习编程题ex1上 单变量线性回归: (python版含题目要求、代码、注解)
- Python爬虫入门之使用Redis+Flask维护动态代理池