you need zlib support compiled into python, this is only done, if thezlib header files are found at configure time do you have it?