2012-06-27 70 views
-1

嘗試使用easy_install爲Python 2.7安裝caldav。 lxml失敗,我發現除2.7以外的所有版本的Python都有二進制安裝程序。Python caldav在Windows上安裝Python 2.7失敗

使用easy_install的,我發現了以下內容:如果沒有

Running lxml-2.3.4\setup.py -q bdist_egg --dist-dir c:\users\jimste~1\appdata\lo 
cal\temp\easy_install-vhvbst\lxml-2.3.4\egg-dist-tmp-qs4ol2 
Building lxml version 2.3.4. 
Building without Cython. 
ERROR: 'xslt-config' is not recognized as an internal or external command, 
operable program or batch file. 

** make sure the development packages of libxml2 and libxslt are installed ** 

Using build configuration of libxslt 
warning: no files found matching 'lxml.etree.c' under directory 'src\lxml' 
warning: no files found matching 'lxml.objectify.c' under directory 'src\lxml' 
warning: no files found matching 'lxml.etree.h' under directory 'src\lxml' 
warning: no files found matching 'lxml.etree_api.h' under directory 'src\lxml' 
warning: no files found matching 'etree_defs.h' under directory 'src\lxml' 
warning: no files found matching 'pubkey.asc' under directory 'doc' 
warning: no files found matching 'tagpython*.png' under directory 'doc' 
warning: no files found matching 'Makefile' under directory 'doc' 
error: Setup script exited with error: Unable to find vcvarsall.bat 

LXML。任何想法如何讓它可以安裝在Python for Python 2.7上?

感謝-Jim

回答