problem with gzip files

Kragen Sitaker kragen at dnaco.net
Thu Jul 19 16:20:18 EDT 2001


In article <mailman.995526990.21898.python-list at python.org>,
Dave Harrison  <dlharris at mail.usyd.edu.au> wrote:
>Traceback (most recent call last):
>	File "./zipreader.py", line 3, in ?
>		import gzip, os
>	File "/usr/local/lib/python2.1/gzip.py", line 9, in ?
>		import zlib
>ImportError: No module named zlib
>
>I then tried installed the zlib library, which went fine.  Except it
>hasn't solved my problem.

Perhaps you installed libz.so, the C library of zlib, but not the
Python zlib module?


-- 
<kragen at pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
Perilous to all of us are the devices of an art deeper than we possess
ourselves.
       -- Gandalf the White [J.R.R. Tolkien, "The Two Towers", Bk 3, Ch. XI]




More information about the Python-list mailing list