【发布时间】:2016-02-20 12:35:58
【问题描述】:
我在尝试通过 pip 安装 lxml 时收到错误 Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?。
c:\users\f\appdata\local\temp\xmlXPathInitqjzysz.c(1) : fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
error: command 'C:\\Users\\f\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
我没有找到要通过 pip 安装的任何 libxml2 开发包。
在 Windows 10 下的 virtualenv 中在 x86 上使用 Python 2.7 和 Python 3.x。
【问题讨论】:
标签: python