Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
On 2015-04-09 13:26, Peter Otten wrote: I'd try $ sudo apt-get build-dep python3-lxml build-dep is not an apt-get command I've seen before but it did the trick! This should install all build dependencies of the python3-lxml package which are likely the same as those of a manual install

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
I tried something different and although not successful, there seems to be some progress: (env)alex@t61p:~/P3env$ CFLAGS="-O0" STATIC_DEPS=true pip install lxml . Exception: Command "make -j3" returned code 512 --

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Peter Otten
Stefan Behnel wrote: > Alex Kleider schrieb am 09.04.2015 um 21:49: >> On 2015-04-09 09:11, Stefan Behnel wrote: >>> All you need to do is install the "-dev" package that goes with your >>> Python installation, e.g. "python3-dev" should match Python 3.4 in >>> current Ubuntu releases. >>> >>> The

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Stefan Behnel
Alex Kleider schrieb am 09.04.2015 um 21:49: > On 2015-04-09 09:11, Stefan Behnel wrote: >> All you need to do is install the "-dev" package that goes with your Python >> installation, e.g. "python3-dev" should match Python 3.4 in current Ubuntu >> releases. >> >> The reason why it's in a separate

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
On 2015-04-09 09:11, Stefan Behnel wrote: It's solved already. :) All you need to do is install the "-dev" package that goes with your Python installation, e.g. "python3-dev" should match Python 3.4 in current Ubuntu releases. The reason why it's in a separate package is that many people ac

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Stefan Behnel
Alex Kleider schrieb am 09.04.2015 um 17:29: > On 2015-04-09 07:08, Brandon McCaig wrote: >> I'm a python newbie, but it looks to me like your compiler cannot >> find your header files, and in particular pyconfig.h. >> >> I tried searching my system and found a file with that name at >> these locat

Re: [Tutor] pip install lxml fails

2015-04-09 Thread Alex Kleider
On 2015-04-09 07:08, Brandon McCaig wrote: I'm a python newbie, but it looks to me like your compiler cannot find your header files, and in particular pyconfig.h. I tried searching my system and found a file with that name at these locations: /home/bambams/src/pyenv/versions/2.7.9/include/p

[Tutor] pip install lxml fails

2015-04-08 Thread Alex Kleider
In the process of trying to learn about web scraping (http://docs.python-guide.org/en/latest/scenarios/scrape/) I tried to pip install lxml. Can anyone suggest a remedy? The output goes on for many pages and the resulting .pip/pip.log file is almost 900 lines long but the main meat of the failur