在 python 2.7 windows 上安装 libxml2

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3520826/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-18 11:32:03  来源:igfitidea点击:

installing libxml2 on python 2.7 windows

pythonlibxml2

提问by goh

I've searched but theres no libxml2 binaries for py2.7.

我已经搜索过,但没有用于 py2.7 的 libxml2 二进制文件。

I have also tried running setup.py for version py2.6.9 but it gave me the error

我也试过为 py2.6.9 版本运行 setup.py 但它给了我错误

failed to find headers for libxml2: update includes_dir

Does anyone have a solution?

有没有人有办法解决吗?

回答by Eir Nym

Some time before I found a good page with prebuilt libraries for different versions of python and arch: http://www.lfd.uci.edu/~gohlke/pythonlibs/

一段时间之前,我找到了一个很好的页面,其中包含针对不同版本的 python 和 arch 的预构建库:http: //www.lfd.uci.edu/~gohlke/pythonlibs/

I suspect it will be useful for you.

我怀疑它对你有用。