免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5557 | 回复: 1
打印 上一主题 下一主题

windows 下安装lxml失败,麻烦谁给我一份编译好的,谢谢(已解决) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-01-16 17:58 |只看该作者 |倒序浏览
本帖最后由 jasonnbfan 于 2012-01-17 19:47 编辑

安装需要本地编译,python setup.py -- instll 或者 easy_install 都是如此,各种依赖头文件找不到...

错误提示:
C:\Python27\Scripts>easy_install lxml==2.3.3
Searching for lxml==2.3.3
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.3.3
Downloading http://lxml.de/files/lxml-2.3.3.tgz
Processing lxml-2.3.3.tgz
Running lxml-2.3.3\setup.py -q bdist_egg --dist-dir c:\users\jason\appdata\local\temp\easy_install-kkfdnx\lxml-2.3.3\egg-dist-tmp-qyhap_
Building lxml version 2.3.3.
Building without Cython.
ERROR: 'xslt-config' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt
warning: no files found matching 'lxml.etree.c' under directory 'src\lxml'
warning: no files found matching 'lxml.objectify.c' under directory 'src\lxml'
warning: no files found matching 'lxml.etree.h' under directory 'src\lxml'
warning: no files found matching 'lxml.etree_api.h' under directory 'src\lxml'
warning: no files found matching 'etree_defs.h' under directory 'src\lxml'
warning: no files found matching 'pubkey.asc' under directory 'doc'
warning: no files found matching 'tagpython*.png' under directory 'doc'
warning: no files found matching 'Makefile' under directory 'doc'
cl: 命令行 warning D9025 :正在重写“/W3”(用“/w”)
lxml.etree.c
c:\users\ak\appdata\local\temp\easy_install-kkfdnx\lxml-2.3.3\src\lxml\etree_defs.h(9) : fatal error C1083: 无法打开包括文件:“libxml/xmlversion.h”: No such file or directory
error: Setup script exited with error: command '"F:\Program Files\VC2008\VC\BIN\cl.exe"' failed with exit status 2


论坛徽章:
0
2 [报告]
发表于 2012-01-16 19:15 |只看该作者
这么多人看,没有人能给我发一个么?
把lxml-2.3.3-py2.7-win32.egg 压缩下发给我就行,谢了...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP