you need zlib support compiled into python, this is only done, if the
zlib header files are found at configure time

do you have it?

I have zlib included at configure time