Re: [Tutor] annoying directory structure

2015-04-09 Thread Zachary Ware
On Thu, Apr 9, 2015 at 2:02 PM, Jim Mooney wrote: > "The safest method would probably be to do `pip freeze > requirements.txt`, > copy the requirements.txt file to the new machine, and run `pip install -r > requirements.txt" --Zach > > I looked at pip3 help (windows) and don't see a -r command. H

[Tutor] annoying directory structure

2015-04-09 Thread Jim Mooney
"The safest method would probably be to do `pip freeze > requirements.txt`, copy the requirements.txt file to the new machine, and run `pip install -r requirements.txt" --Zach I looked at pip3 help (windows) and don't see a -r command. However, it does work. How do I get the "invisible" commands

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