二维码

pip 方式安装lxml whl 包问题

1649 人阅读 | 时间:2018年12月27日 10:12

首先安装 pip install wheel

我是python 3.4 32位 ,操作系统是windows64位

下载包  lxml‑3.7.3‑cp34‑cp34m‑win32.whl 

安装 pip isntall lxml‑3.7.3‑cp34‑cp34m‑win32.whl

错误提示:lxml-3.7.3-cp34-cp34m-win32.whl is not a supported wheel on this platform.

反复检测安装包应该没问题

进入 python命令行 ,输入

打印出:

[('cp34', 'none', 'win32'), ('py3', 'none', 'win32'), ('cp34', 'none', 'any'), (
'cp3', 'none', 'any'), ('cp33', 'none', 'any'), ('cp32', 'none', 'any'), ('cp31'
, 'none', 'any'), ('cp30', 'none', 'any'), ('py34', 'none', 'any'), ('py3', 'non
e', 'any'), ('py33', 'none', 'any'), ('py32', 'none', 'any'), ('py31', 'none', '
any'), ('py30', 'none', 'any')]

原来pip 安装 whl包,是否支持是按照文件名来判断 的。 我下载的包 名称格式是 ‘cp34' ,'cp34m','win32'  ,不包含在所支持的格式范围内,重新命名 lxml-3.7.3-cp34-none-win32.whl 后安装成功


取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

©著作权归作者所有:来自ZhiKuGroup博客作者没文化的原创作品,如需转载,请注明出处,否则将追究法律责任 来源:ZhiKuGroup博客,欢迎分享。

评论专区
  • 昵 称必填
  • 邮 箱选填
  • 网 址选填
◎已有 0 人评论
搜索
作者介绍
30天热门
×
×
关闭广告
关闭广告
本站会员尊享VIP特权,现在就加入我们吧!登录注册×
»
会员登录
新用户注册
×
会员注册
已有账号登录
×