Python——pip安装报错:is not a supported wheel on this platform
来源:互联网 发布:php与java工资 编辑:程序博客网 时间:2024/05/22 11:47
pip安装报错:is not a supported wheel on this platform
可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同理。
可能的原因2:这个是我遇到的情况(下载的是对应版本的库,然后仍然提示不支持当前平台)
我下载到的Twisted库文件名:
Twisted-17.5.0-cp35-cp35m-win_amd64.whl
使用pip安装(在命令行中):
pip install Twisted-17.5.0-cp35-cp35m-win_amd64.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())[('cp35', 'none', 'win_amd64'), ('py3', 'none', 'win_amd64'), ('cp35', 'none', 'any'), ('cp3', 'none', 'any'), ('cp34', 'none', 'any'), ('cp33', 'none', 'any'), ('cp32', 'none', 'any'), ('cp31', 'none', 'any'), ('cp30', 'none', 'any'), ('py35', 'none', 'any'), ('py3', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]
通过这里可以发现上面下载的文件名格式是不支持的,修改为:Twisted-17.5.0-cp35-none-win_amd64.whl即可成功安装。
其它的库也同理可以成功安装,不过也请注意库的依赖。
阅读全文
0 0
- 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安装报错: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
- 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安装python库报错:Pillow-4.2.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
- pip 安装错误 : is not a supported wheel on this platform
- python中的lxml的安装+*.whl is not a supported wheel on this platform.
- 安装python出现is not a supported wheel on this platform解决办法
- Maven 基本概念——根目录、项目创建、坐标(一)
- psd格式图片保存自己需要的png图片
- yii2 常用组件 -- 列表
- IntelliJ IDEA 添加Lombok插件
- 新手搭建Hadoop集群
- Python——pip安装报错:is not a supported wheel on this platform
- 监控室8控32局域网矩阵切换器的应用实例
- 分布式通信
- iOS 二维码扫描
- test
- CSS3--Transition,Transform和Animation
- cookies和localStorage和sessionStorage的区别
- Java 数据结构(一)---排序(二) 选择排序
- 小马哥学习笔记(1)