lxml mit python3 und pip, installations fehler gelöst aber merkwürdig
hallo python freunde, habe hier ein debian jessie 8.3 stable. in einer virtualenv möchte ich jetzt lxml für ein projekt testen...nichts leichter als das, kurz pip angeschmissen: (in der virtualenv) pip install lxml scheitert mit: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -Isrc/lxml/includes -I/usr/include/python3.4m -I/home/julius/code/python/lxml/include/python3.4m -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-3.4/src/lxml/lxml.etree.o -w In file included from src/lxml/lxml.etree.c:320:0: src/lxml/includes/etree_defs.h:14:31: fatal error: libxml/xmlversion.h: No such file or directory #include "libxml/xmlversion.h" ^ compilation terminated. jetzt ist aber xmlversion.h bereits installiert da libxml2-dev installiert ist. kommt jetzt libxslt-dev ins system funktioniert die installation von lxml. aber warum meckert er das libxml/xmlversion.h nicht gefunden wird? zeile 14-31 aus: src/lxml/includes/etree_defs.h:14:31: #include "libxml/xmlversion.h" #ifndef LIBXML_VERSION # error the development package of libxml2 (header files etc.) is not installed correctly #else #if LIBXML_VERSION < 20700 # error minimum required version of libxml2 is 2.7.0 #endif #endif #include "libxslt/xsltconfig.h" #ifndef LIBXSLT_VERSION # error the development package of libxslt (header files etc.) is not installed correctly #else #if LIBXSLT_VERSION < 10123 # error minimum required version of libxslt is 1.1.23 #endif #endif jemand eine idee?
participants (1)
-
steven meier