привет.
помогите пожалуйста найти модуль xmlsec для python 2.7.3, ubuntu
спасибо
... In file included from wrap_objs.c:25:0: wrap_objs.h:10:27: фатальная ошибка: xmlsec/xmlsec.h: Нет такого файла или каталога компиляция прервана. error: command 'gcc' failed with exit status 1
$pip freeze argparse==1.2.1 distribute==0.6.24 libxml2-python==2.6.9 lxml==3.1.0 wsgiref==0.1.2
pip install pyxmlsec Downloading/unpacking pyxmlsec Running setup.py egg_info for package pyxmlsec Error : cannot get XMLSec1 pre-processor and compiler flags Error : cannot get XMLSec1 linker flags Warning : cflag sh: skipped Warning : cflag 1: skipped Warning : cflag xmlsec1-config: skipped Warning : cflag not skipped Warning : cflag found skipped Warning : linker flag sh: skipped Warning : linker flag 1: skipped Warning : linker flag xmlsec1-config: skipped Warning : linker flag not skipped Warning : linker flag found skipped warning: no previously-included files found matching 'examples/vrac*' warning: no previously-included files found matching 'examples/*~' warning: no previously-included files found matching 'docs/cours/*' Installing collected packages: pyxmlsec Running setup.py install for pyxmlsec Error : cannot get XMLSec1 pre-processor and compiler flags Error : cannot get XMLSec1 linker flags Warning : cflag sh: skipped Warning : cflag 1: skipped Warning : cflag xmlsec1-config: skipped Warning : cflag not skipped Warning : cflag found skipped Warning : linker flag sh: skipped Warning : linker flag 1: skipped Warning : linker flag xmlsec1-config: skipped Warning : linker flag not skipped Warning : linker flag found skipped building 'xmlsecmod' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/include/python2.7 -c utils.c -o build/temp.linux-x86_64-2.7/utils.o gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/include/python2.7 -c wrap_objs.c -o build/temp.linux-x86_64-2.7/wrap_objs.o In file included from wrap_objs.c:25:0: wrap_objs.h:10:27: фатальная ошибка: xmlsec/xmlsec.h: Нет такого файла или каталога компиляция прервана. error: command 'gcc' failed with exit status 1 Complete output from command /home/ilnurgi/.virtualenvs/test/bin/python -c "import setuptools;__file__='/home/ilnurgi/.virtualenvs/test/build/pyxmlsec/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-jo0jNo-record/install-record.txt --install-headers /home/ilnurgi/.virtualenvs/test/include/site/python2.7: Error : cannot get XMLSec1 pre-processor and compiler flags Error : cannot get XMLSec1 linker flags Warning : cflag sh: skipped Warning : cflag 1: skipped Warning : cflag xmlsec1-config: skipped Warning : cflag not skipped Warning : cflag found skipped Warning : linker flag sh: skipped Warning : linker flag 1: skipped Warning : linker flag xmlsec1-config: skipped Warning : linker flag not skipped Warning : linker flag found skipped running install running build running build_py running build_ext building 'xmlsecmod' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/include/python2.7 -c utils.c -o build/temp.linux-x86_64-2.7/utils.o gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -I/usr/include/python2.7 -c wrap_objs.c -o build/temp.linux-x86_64-2.7/wrap_objs.o In file included from wrap_objs.c:25:0: wrap_objs.h:10:27: фатальная ошибка: xmlsec/xmlsec.h: Нет такого файла или каталога компиляция прервана. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command /home/ilnurgi/.virtualenvs/test/bin/python -c "import setuptools;__file__='/home/ilnurgi/.virtualenvs/test/build/pyxmlsec/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-jo0jNo-record/install-record.txt --install-headers /home/ilnurgi/.virtualenvs/test/include/site/python2.7 failed with error code 1 in /home/ilnurgi/.virtualenvs/test/build/pyxmlsec Storing complete log in /home/ilnurgi/.pip/pip.log
sudo apt-get install xmlsec1
wrap_objs.h:10:27: фатальная ошибка: xmlsec/xmlsec.h: Нет такого файла или каталога
sudo apt-get install xmlsec1
ему явно не хватает -dev пакетов - о чем он вам и говорит:я вручную скачивал архив. Там такой файл есть.