On Thu, Sep 15, 2011, Neacsa Bogdan Valentin wrote: > > So I've created an app using py2app. It has a rather large number > of dependencies but I've managed to make it work on my PC (Mac OS X > 10.5.8). However now I'm testing it on a different machine (still a > Mac OS 10.5.8) and it won't work. > > It crashes right from the start with a :? > > zipimport.ZipImportError: can't decompress data; zlib not available > > I've checked and zlib.so is in lib-dynload. What could cause this?
The exact cause varies, but the immediate problem is that py2app can't correctly set the Python path. You'll need to do some digging in the bootstrap loader. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you don't know what your program is supposed to do, you'd better not start writing it." --Dijkstra _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG