Я пытаюсь установить libxml2, чтобы я мог настроить привязки python и в конечном итоге использовать lxml.
Однако я не могу работать здесь, на земле, я должен разархивировать файлы.
Я не смог успешно погуглить.
Нужен ли Cygwin / MinGW для успешной установки?
На данный момент у меня есть файлы из libxml2.tar.gz и libxslt.tar.gz в их соответствующих каталогах в моей папке Python. Таким образом, файлы, которые были в tars под include, находятся в Python26 \ include \ libxml2 \ libxml ... и т. Д.
однако, когда я запускаю easy_install lxml, я получаю следующий вывод:
Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.2.4
Downloading http://codespeak.net/lxml/lxml-2.2.4.tgz
Processing lxml-2.2.4.tgz
Running lxml-2.2.4\setup.py -q bdist_egg --dist-dir c:\users\rocco\appdata\local
\temp\easy_install-1xwbhy\lxml-2.2.4\egg-dist-tmp-9zwhe4
Building lxml version 2.2.4.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' need
s to be available.
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'
error: Setup script exited with error: Unable to find vcvarsall.bat
Любая помощь была бы очень полезна, так как я пытался заставить ее работать уже больше недели: (
Спасибо