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:
- Install the appropriate
Zlib-dev
package. For example on Ubuntu it is calledzlib1g-dev
. This will provide thezlib.h
include file. - After compiling your python sources run the configure script:
./configure –with-zlib=/usr/include
- Now
make
andmake install
should work.
Post a Comment for "Python3: No Gzip Or Zlib?"