Skip to content Skip to sidebar Skip to footer

Python3: No Gzip Or Zlib?

is this module named something else now? I can't seem to find any info saying that this module was deprecated or dropped completely. (which would confuse me further) Anyone know

Solution 1:

(Answered by editing a URL into the question. Converted to a community wiki answer. See Question with no answers, but issue solved in the comments (or extended in chat) )

The OP wrote:

[SOLVED] http://www.1stbyte.com/2005/06/26/configure-and-compile-python-with-zlib/

SO deprecates URL only answers, and it would be inappropriate to transcribe the blog from GregTheGeek on that site. However, in summary, the steps necessary are:

  1. Install the appropriate Zlib-dev package. For example on Ubuntu it is called zlib1g-dev. This will provide the zlib.h include file.
  2. After compiling your python sources run the configure script: ./configure –with-zlib=/usr/include
  3. Now make and make install should work.

Post a Comment for "Python3: No Gzip Or Zlib?"