Bill Anderson wrote:
> I recently had this issue and discovered that if zlib headers are not
> there, python still builds gzip ... which imports zlib. Seems to me that
> since zlib apparently depends on gzip, gzip should only be built if zlib
> is.
gzip is a Python module, and isn't "built".
if
On Mon, 11 Apr 2005 10:38:37 -0400, Alan Toppen wrote:
> I was unable to use the ZipFile class in the zipfile module in
> Python2.4. I got an error that zlib could not be found. Comparing my
> Python 2.2 installation I noticed Python 2.4 was missing a certain file:
> /usr/lib/python2.2/lib-dynload
Alan Toppen wrote:
> When running my Python script it gives a warning:
>
> /usr/local/lib/python2.4/zipfile.py:7: RuntimeWarning: Python C API
version
> mismatch for module zlib: This Python has C API version 1012, module zlib
> has version 1011.
> import zlib # We may need its compression metho
I was unable to use the ZipFile class in the zipfile module in Python2.4. I
got an error that zlib could not be found. Comparing my Python 2.2
installation I noticed Python 2.4 was missing a certain file:
/usr/lib/python2.2/lib-dynload/zlibmodule.so. Unable to find a more elegant
solution, I co