September 2008
5 posts
3 tags
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.