pip安装报错:is not a supported wheel on this platform
来源:互联网 发布:mac pro连电视 编辑:程序博客网 时间:2024/05/16 02:38
可能的原因1:安装的不是对应python版本的库,下载的库名中cp27代表python2.7,其它同理。
可能的原因2:这个是我遇到的情况(下载的是对应版本的库,然后仍然提示不支持当前平台)
我下载到的numpy库文件名:
- numpy-1.10.4+mkl-cp27-cp27m-win32.whl
使用pip安装(在命令行中):
- pip install numpy-1.10.4+mkl-cp27-cp27m-win32.whl
报错:*** is not a supported wheel on this platform,通过在stackoverflow上的一个帖子成功解决问题。
方法:在shell中输入import pip; print(pip.pep425tags.get_supported())可以获取到pip支持的文件名还有版本,我这里如下:
>>import pip; print(pip.pep425tags.get_supported())
[('cp27', 'none', 'win32'), ('py2', 'none', 'win32'), ('cp27', 'none', 'any'), ('cp2', 'none', 'any'), ('cp26', 'none', 'any'), ('cp25', 'none', 'any'), ('cp24', 'none', 'any'), ('cp23', 'none', 'any'), ('cp22', 'none', 'any'), ('cp21', 'none', 'any'), ('cp20', 'none', 'any'), ('py27', 'none', 'any'), ('py2', 'none', 'any'), ('py26', 'none', 'any'), ('py25', 'none', 'any'), ('py24', 'none', 'any'), ('py23', 'none', 'any'), ('py22', 'none', 'any'), ('py21', 'none', 'any'), ('py20', 'none', 'any')]
通过这里可以发现上面下载的文件名格式是不支持的,修改为:numpy-1.10.4+mkl-cp27-none-win32.whl即可成功安装。
其它的库也同理可以成功安装,不过也请注意库的依赖。
(参考帖子网址:http://stackoverflow.com/questions/28107123/cannot-install-numpy-from-wheel-format?rq=1)
(python库下载地址(库很丰富,下载速度也很快):http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy)
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- 使用pip安装tensorflow报错:tensorflow---- is not a supported wheel on this platform.
- pip安装报错:is not a supported wheel on this platform
- Python——pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip 安装报错,is not a supported wheel on this platform
- pip安装报错'not a supported wheel on this platform'
- windows下Python2与Python3共存的使用方法以及pip的使用方法以及pip安装报错:is not a supported wheel on this platform的处理方法
- pip 安装错误 : is not a supported wheel on this platform
- pip安装python库报错:Pillow-4.2.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
- windows7 pip *.whl is not a supported wheel on this platform解决方案
- Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
- COURSERA机器学习笔记——单变量线性回归
- evaluate-reverse-polish-notation
- Android 用EditText实现搜索框功能
- ExtJS中GridPanel一次性加载500条以上数据(不分页),性能超级差,有时导致浏览器卡死!
- 第十三章:人机猜拳
- pip安装报错:is not a supported wheel on this platform
- day83-透彻讲解使用Java方式实战Spark Streaming开发
- bootstrap导出excel,科学计数法BUG,export.js
- Windows和Ubuntu双系统,修复UEFI引导的两种办法
- [bzoj3026] 楼梯染色 解题报告
- win10 bash 安装 skyeye
- Hadoop MapReduce学习笔记 SQL查询
- 找出N个数中最小的k个数问题(复杂度O(N*logk))
- 不支持关键字: “initial catalog”。