brichotomy

i have always been regretting that i was not as wise as the day i was born
–thoreau
Sep 08
Permalink

Python 2.5 + zlib on Centos 5

Installed Python 2.5 but when it came time to run ez_setup.py it turns out the zlib extension wasn’t available. Install zlib-devel (sudo yum -y install zlib-devel) and recompile Python 2.5.

The original error I got was: zipimport.ZipImportError: can’t decompress data; zlib not available stemming from python ez_setup.py.