Cannot load PIL
In Mountain Lion (10.8.2), py2app 0.7.1
PIL works ok for my app when running without py2app (i.e.
but the simple example in py2app/examples/PIL/ does not work.
I wrote my own minimal app which simply calls
print "hello". I found that the app created by py2app will throw an error on launch. This happens even if there is no
import PIL in my code. All that is needed to get the error on launch is to put
'packages': ['PIL'] in the options in setup.py.
The error does not occur when I execute
python setup.py py2app. It occurs when I click on the resulting app and launch it. Like I said, I know PIL is fine because my app runs fine from the command line.
I wish I knew what error was being thrown, but it's not captured in the logs (see issue