Building wheels for collected packages: lxml
Running setup.py bdist_wheel for lxml ... error
Complete output from command c:\python\venv27\scripts\python.exe -u -c "import setuptools, tokeniz
e;__file__='c:\\users\\john\\appdata\\local\\temp\\pip-build-onqfjv\\lxml\\setup.py';exec(compile(ge
tattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_whee
l -d c:\users\john\appdata\local\temp\tmp_k_igspip-wheel- --python-tag cp27:
Building without Cython.
ERROR: 'xslt-config' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
src\lxml\includes\etree_defs.h(14) : fatal error C1083: Cannot open include file: 'libxml/xmlversi
on.h': No such file or directory
Compile failed: command 'C:\\Users\\John\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++
for Python\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
c:\users\john\appdata\local\temp\xmlXPathInit86c5ei.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\\John\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Pytho
n\\9.0\\VC\\Bin\\amd64\\cl.exe' failed with exit status 2
----------------------------------------
Failed building wheel for lxml
到pypi网站下载
https://pypi.python.org/pypi/lxml/3.6.0
File
Type | Py Version | Uploaded on | Size | |
---|---|---|---|---|
lxml-3.6.0-cp26-none-win32.whl (md5) | Python Wheel | 2.6 | 2016-03-22 | 2MB |
lxml-3.6.0-cp26-none-win_amd64.whl (md5) | Python Wheel | 2.6 | 2016-03-22 | 3MB |
lxml-3.6.0-cp27-none-win32.whl (md5) | Python Wheel | 2.7 | 2016-03-22 | 2MB |
lxml-3.6.0-cp27-none-win_amd64.whl (md5) | Python Wheel | 2.7 | 2016-03-22 | 3MB |
lxml-3.6.0-cp32-none-win32.whl (md5) | Python Wheel | 3.2 | 2016-03-22 | 2MB |
lxml-3.6.0-cp32-none-win_amd64.whl (md5) | Python Wheel | 3.2 | 2016-07-24 | 3MB |
lxml-3.6.0-cp33-none-win32.whl (md5) | Python Wheel | 3.3 | 2016-07-24 | 2MB |
lxml-3.6.0-cp33-none-win_amd64.whl (md5) | Python Wheel | 3.3 | 2016-07-24 | 3MB |
lxml-3.6.0-cp34-none-win32.whl (md5) | Python Wheel | 3.4 | 2016-07-24 | 2MB |
lxml-3.6.0-cp34-none-win_amd64.whl (md5) | Python Wheel | 3.4 | 2016-07-24 | 3MB |
lxml-3.6.0.tar.gz (md5,pgp) | Source | 2016-03-17 | 3MB | |
lxml-3.6.0.win-amd64-py2.6.exe (md5) | MS Windows installer | 2.6 | 2016-03-22 | 3MB |
lxml-3.6.0.win-amd64-py2.7.exe (md5) | MS Windows installer | 2.7 | 2016-03-22 | 3MB |
lxml-3.6.0.win-amd64-py3.2.exe (md5) | MS Windows installer | 3.2 | 2016-06-08 | 3MB |
lxml-3.6.0.win-amd64-py3.3.exe (md5) | MS Windows installer | 3.3 | 2016-06-08 | 3MB |
lxml-3.6.0.win-amd64-py3.4.exe (md5) | MS Windows installer | 3.4 | 2016-06-08 | 3MB |
lxml-3.6.0.win32-py2.6.exe (md5) | MS Windows installer | 2.6 | 2016-03-22 | 3MB |
lxml-3.6.0.win32-py2.7.exe (md5) | MS Windows installer | 2.7 | 2016-03-22 | 3MB |
lxml-3.6.0.win32-py3.2.exe (md5) | MS Windows installer | 3.2 | 2016-03-22 | 3MB |
lxml-3.6.0.win32-py3.3.exe (md5) | MS Windows installer | 3.3 | 2016-06-08 | 3MB |
lxml-3.6.0.win32-py3.4.exe (md5) | MS Windows installer | 3.4 | 2016-06-08 | 3MB |
pip install lxml-3.6.0-cp27-none-win_amd64.whl