Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #4431

[Python-de] lxml mit python3 und pip, installations fehler gelöst aber merkwürdig

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
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 Mon, 25 Apr 2016 16:09:17 +0200
Lines 65
Message-ID <mailman.77.1461593496.32212.python-de@python.org> (permalink)
References <1461593357.28302.45.camel@yahoo.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de 8zvv0bFEmFgaWJ3sspwIDgfiCNEJ9Cx5+bBN232Dcn0g==
Return-Path <commercials24@yahoo.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1461593380; bh=0NNpleUyvFmR099qETFoCNyuprtyDpsz198rboBdTvU=; h=Subject:From:To:Date:From:Subject; b=UP/nM858QRu/Ivmo1AXHBj9rL00PV3UbD/EzBblt5VBzuuV77MQdxRCWDuOjJP+LUjo32dhF6PqNmM1Csfy6xklC/4iun4LYy/XSwTt3jFT6Dyrb5+L1HPji9dCLsfwXihOiOT1lXYzaigYhlyPZE5RliIVcvtroMXwAh8QaAzaR+JM0JW8uvfN2hHBQuzP25jDx+v6kf1ACluy966RGBZuqqCbSWzVH5vIDZh2j8w82ULlwIrSVrZJA41mMy08rWH1uT6KZVKUHaLkgCWvJkViYcC4na6IGc7PAUAtbqaQFRnYV5CZu57xNVXndfZih4lLGNO6c+7plO8QvGZGnTA==
X-Yahoo-Newman-Id 832992.76440.bm@smtp108.mail.ir2.yahoo.com
X-Yahoo-Newman-Property ymail-3
X-YMail-OSG TDzhAMcVM1l2ZgChORoqIwXQKnORIBtC28buReZ_012zDWe miQdeSjVRq8hDbXFBpo4SIApJgow5G75LzRQ1mRPejqjG0miQSHEWW8LhArz vtj5A43GquI8EVLsGyf7kNVDdoxQNnI54e9s3b4MNsKomlF1CkZZRlLJqf1R H4iTJd5Ob7Wmjw32FbldK71EiO7biw71WAXWmEMXW0trOXA4RARL3EB6TtQF bHwEoh0KTkbpuiV7IKh6wU5qJP9.qC91PpEcln.4CBWb3VY0n2yoEwdTzbwh OCV_C4Lyo0F4pflW2Zs5nLtZEVcusSdwpIOwGSdYGLcZNdkqvIlWcuCbV7Dm _EXZH0X6mq_15qScB9QUvnbA7Onl1LrwDjk4q65TBPpbjeDP28mP8Me.QTuB FGvV8bZ.ggiX4ifU.Ry32hdEZVgmMfW9xIn05hIK.kcy1ym6h2PHEJYbVhsg 9qj89LfzT7N9Kdt7JLNlabE8MlBCnLHaCN0mHUhNZuddE_tLwWOLi8ks9msM 2LS6F2_DwA1jwyCXEGBz8gA9SoFWF5DIDAaVJQ6Np_6E-
X-Yahoo-SMTP 5ChMj5uswBCFHzNizld9LSbfTErf0FQUOBc-
X-Mailer Evolution 3.12.9-1+b1
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <1461593357.28302.45.camel@yahoo.de>
Xref csiph.com de.comp.lang.python:4431

Show key headers only | View raw


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


Thread

[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