Dave Perrett

Python 2.5 zipimport.ZipImportError on OS X

linux, osx, programming, python, quickie

If you are getting an error similar to the following trying to run pythin2.5 on OS X :

1
zipimport.ZipImportError: can't decompress data; zlib not available

… you need to install py25-zlib :

1
> sudo port install py25-zlib