Re: Python 2.5 zlib trouble

2011-09-28 Thread Alec Taylor
Fix: http://lipyrary.blogspot.com/2011/05/how-to-compile-python-on-ubuntu-1104.html On Tue, Sep 27, 2011 at 5:04 AM, Benjamin Kaplan wrote: > On Mon, Sep 26, 2011 at 2:16 PM, Jesramz > wrote: >> >> I appreciate all the help, but I am still a little confused. Sorry, >> I'm a lay person. >> >> S

Re: Python 2.5 zlib trouble

2011-09-26 Thread Benjamin Kaplan
On Mon, Sep 26, 2011 at 2:16 PM, Jesramz wrote: > > I appreciate all the help, but I am still a little confused. Sorry, > I'm a lay person. > > Should I download zlib1g-dev and install it to get the zlib module? > > and Alter the configure script to avoid future issues? > > Also about getting zlib

Re: Python 2.5 zlib trouble

2011-09-26 Thread Jesramz
I appreciate all the help, but I am still a little confused. Sorry, I'm a lay person. Should I download zlib1g-dev and install it to get the zlib module? and Alter the configure script to avoid future issues? Also about getting zlib I found the following: "I was able to recompile zlib $./conf

Re: Python 2.5 zlib trouble

2011-09-24 Thread Christian Heimes
Am 25.09.2011 01:33, schrieb Benjamin Kaplan: > There is no binary installer on that page. That means you downloaded > the source code and compiled it yourself. Yes, you didn't patch it. > But it's still a self-compiled version of Python. > > In order to get zlib in a self-compiled version of Pyth

Re: Python 2.5 zlib trouble

2011-09-24 Thread Benjamin Kaplan
On Sat, Sep 24, 2011 at 7:08 PM, Jesramz wrote: > > I installed it from here: http://www.python.org/getit/releases/2.5.6/ > > What do you think a solution might be? > There is no binary installer on that page. That means you downloaded the source code and compiled it yourself. Yes, you didn't pat

Re: Python 2.5 zlib trouble

2011-09-24 Thread Jesramz
I installed it from here: http://www.python.org/getit/releases/2.5.6/ What do you think a solution might be? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 zlib trouble

2011-09-24 Thread Christian Heimes
Am 23.09.2011 23:34, schrieb Jesramz: > Im running on Ubuntu Natty and I am not running a self-compiled > install, its a regular release. Ubuntu Natty doesn't come with Python 2.5. How did you install Python 2.5 on Natty? If you used some sort of installer or 3rd party repository, there is a big

Re: Python 2.5 zlib trouble

2011-09-23 Thread Jesramz
Thank You Christian Im running on Ubuntu Natty and I am not running a self-compiled install, its a regular release. In order to do this: $ make distclean $ export LDFLAGS="-L/usr/lib/$(dpkg-architecture - qDEB_HOST_MULTIARCH)" $ ./configure $ make $ make install $ unset LDFLAGS I

Re: Python 2.5 zlib trouble

2011-09-23 Thread Alec Taylor
No idea, as I said before, if you ask for it they might put in the alpha. On Sat, Sep 24, 2011 at 8:30 AM, Jesse Ramirez wrote: > > Thanks Alec, might you know when the 2.7 support might come? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python 2.5 zlib trouble

2011-09-23 Thread Jesramz
Thank You Christian Im running on Ubuntu Natty and I am not running a self-compiled install, its a regular release. In order to do this: $ make distclean $ export LDFLAGS="-L/usr/lib/$(dpkg-architecture - qDEB_HOST_MULTIARCH)" $ ./configure $ make $ make install $ unset LDFLAGS

Re: Python 2.5 zlib trouble

2011-09-23 Thread Christian Heimes
Am 23.09.2011 17:41, schrieb Jesramz: > Python 2.5.6 (r256:88840, Sep 22 2011, 13:45:58) > [GCC 4.5.2] on linux2 > Type "help", "copyright", "credits" or "license" for more information. import zlib > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named zli

Re: Python 2.5 zlib trouble

2011-09-23 Thread Jesramz
Python 2.5.6 (r256:88840, Sep 22 2011, 13:45:58) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import zlib Traceback (most recent call last): File "", line 1, in ImportError: No module named zlib >>> But if I run Python2.7 I get: Python 2.7.1+

Re: Python 2.5 zlib trouble

2011-09-23 Thread Steven D'Aprano
Jesramz wrote: > Hello, > > I am trying to deploy an app on google app engine using bottle, a > micro-framework, similar to flask. [...] > ImportError: No module named zlib What happens if you explicitly launch Python2.5 and then try to import zlib? -- Steven -- http://mail.python.org/mai

Python 2.5 zlib trouble

2011-09-22 Thread Jesramz
Hello, I am trying to deploy an app on google app engine using bottle, a micro-framework, similar to flask. I am running on ubuntu which comes with python 2.7 installed but GAE needs version 2.5, so I installed 2.5. I then realized I didn't use make altinstall so I may have a default version probl