我試圖在Windows上安裝lxml。我正在運行python 3.5。 我用win安裝程序,沒有工作。它給了我一個錯誤,說Python 3.2沒有找到。我使用PIP或使用easy_install它試圖安裝,然後給了我一個錯誤說lxml for python 3.5
C:\Users\>easy_install lxml
Searching for lxml
Reading https://pypi.python.org/simple/lxml/
Best match: lxml 3.5.0
Downloading https://pypi.python.org/packages/source/l/lxml/lxml-3.5.0.tar.gz#md5
=9f0c5f1eb43ff44d5455dab4b4efbe73
Processing lxml-3.5.0.tar.gz
Writing C:\Users\vasisht\AppData\Local\Temp\easy_install-ze62aj3w\lxml-3.5.0\setup.cfg
Running lxml-3.5.0\setup.py -q bdist_egg --dist-dir
C:\Users\...\AppData\Local\Temp\easy_install-ze62aj3w\lxml-3.5.0\egg-dist-tmp-cwiu9v46
Building lxml version 3.5.0.
Building without Cython.
ERROR: b"'xslt-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
error: Setup script exited with error: Unable to find vcvarsall.bat
我一直在抓我的頭和一個答案淘谷歌。請爲我揭開一些光。由於
可能的重複[如何指出easy \ _install到vcvarsall.bat?](http://stackoverflow.com/questions/6551724/how-do-i-point-easy-install-to-vcvarsall-bat) – Arman
看看這些文檔:http://lxml.de/installation.html#source-builds-on-ms-windows – chishaku