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


Groups > comp.lang.python > #77037

Re: error building lxml.etree

From Robin Becker <robin@reportlab.com>
Subject Re: error building lxml.etree
Date 2014-08-26 12:03 +0100
References <53F766C3.1040103@chamonix.reportlab.co.uk> <lt803a$jon$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.13450.1409051044.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web