Python 2.5 zlib trouble

Christian Heimes lists at cheimes.de
Fri Sep 23 17:20:44 EDT 2011


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 "<stdin>", line 1, in <module>
> ImportError: No module named zlib

Are you running a self-compiled installation of Python 2.5 on recent
Debian or Ubuntu? Check out my blog
http://lipyrary.blogspot.com/2011/05/how-to-compile-python-on-ubuntu-1104.html

Christian




More information about the Python-list mailing list