[Pythonmac-SIG] Py2app zlib import error

Chris Barker Chris.Barker at noaa.gov
Thu Jun 23 18:04:17 CEST 2011


On 6/22/11 7:30 PM, Brian Zambrano wrote:
> Just bumping this.  Does anyone have solution or some advice on how to
> proceed?

>     The error is:
>
>     'import site' failed; use -v for traceback
...
>     zipimport.ZipImportError: can't decompress data; zlib not available

This looks like it has nothing to do with PyQT or anything else, 
actually, but is a raw py2app issue. So the first thing I'd do is try a 
really simple example. That will make it easier for others to try and 
reproduce the failure as well.

Taking a guess, I'd say you're getting a zlib from macports that may 
rely on something else in macports that other users don't have.

Again, I"'d avoid macports for something you want to re-distribute.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list