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


Groups > comp.lang.python > #77037 > unrolled thread

Re: error building lxml.etree

Started byRobin Becker <robin@reportlab.com>
First post2014-08-26 12:03 +0100
Last post2014-08-26 12:03 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: error building lxml.etree Robin Becker <robin@reportlab.com> - 2014-08-26 12:03 +0100

#77037 — Re: error building lxml.etree

FromRobin Becker <robin@reportlab.com>
Date2014-08-26 12:03 +0100
SubjectRe: error building lxml.etree
Message-ID<mailman.13450.1409051044.18130.python-list@python.org>
On 22/08/2014 18:53, Stefan Behnel wrote:
> Robin Becker schrieb am 22.08.2014 um 17:50:
>> I'm trying to build a bunch of extensions in a 2.7 virtual environment on a
>.............
>>
>> Has anyone else seen this error? It's entirely possible that it might be I
>> don't have enough memory or something
>
> Yes, that's most likely it. Having 500MB+ of free(!) RAM is a good idea for
> the build.
>
>
>> lxml builds almost always take a long time.
>
> For testing, you can speed things up quite substantially by using "-O0" as
> your CFLAGS. Not a good idea for a production system, though.
>
> You might also get away with building a (static?) wheel on another
> compatible Linux system that has more RAM.
>
> Stefan
>
>
I exported the VM to a higher spec host box and there I was able to build lxml 
without issue after increasing the VM base memory.
-- 
Robin Becker

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web