简体   繁体   English

安装libxml2时出错

[英]getting error while installing libxml2

I am trying to install libxml2 for Python version 2.7.3, but whenever I try to install it gives me error: 我正在尝试为Python 2.7.3版安装libxml2 ,但是每当我尝试安装时,它都会给我错误:

failed to find headers for libxml2: update includes_dir 找不到libxml2的标头:更新include_dir

Looking for a work-around solution please help 寻找解决方法,请提供帮助

PS I am on Windows 7 machine PS我在Windows 7计算机上

There is the huge list of Unofficial Windows Binaries for Python Extension Packages which are extremely useful for Windows users. 有大量的Python扩展软件包的非官方Windows二进制文件列表,这些文件对于Windows用户非常有用。

http://www.lfd.uci.edu/~gohlke/pythonlibs/ http://www.lfd.uci.edu/~gohlke/pythonlibs/

Go to the link and search for libxml-python and install it and you are good to go. 转到链接并搜索libxml-python并安装它,一切顺利。

Cheers ! 干杯!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM