Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4431
| From | steven meier <commercials24@yahoo.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | [Python-de] lxml mit python3 und pip, installations fehler gelöst aber merkwürdig |
| Date | 2016-04-25 16:09 +0200 |
| Message-ID | <mailman.77.1461593496.32212.python-de@python.org> (permalink) |
| References | <1461593357.28302.45.camel@yahoo.de> |
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?
Back to de.comp.lang.python | Previous | Next | Find similar
[Python-de] lxml mit python3 und pip, installations fehler gelöst aber merkwürdig steven meier <commercials24@yahoo.de> - 2016-04-25 16:09 +0200
csiph-web