您的位置:首页 > 编程语言 > Python开发

python中的lxml的安装+*.whl is not a supported wheel on this platform.

2017-02-26 19:31 671 查看
http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

下载与自己对应的*.whl文件,比如我的是lxml‑3.7.3‑cp36‑cp36m‑win_amd64.whl,考虑到下载python的时候没有选择32位或者64位。故安装*.whl文件之前就是先看一下自己的是32位还是64位

C:\Users\admin>python

Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900
32 bit (Intel)] on win32

Type "help", "copyright", "credits" or "license" for more information.

查看是是32位还是64位,下载之后,win+r (cmd)安装pip install E:\Python_install\lxml\lxml-3.7.3-cp35-cp35m-win32.whl

如果出现lxml-3.7.3-cp35-cp35m-win32.whl is not a supported wheel on this platform.红色字体,则是*.whl文件选择错误,重新下载对应的*.whl文件重新安装即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐