[Pythonmac-SIG] py2app warning: may need to include email.Util
Russell E Owen
rowen at cesmail.net
Tue Jan 16 22:20:58 CET 2007
My py2app-bundled Mac application recently started failing with "no
module named email.Util" when trying to display images. It turns out
pyfits uses urllib which uses email.Util, which apparently has been
renamed email.util with some kind of clever lazy import code so one can
still use email.Util. Apparently the cleverness is too much for py2app's
module finder.
Anyway, the easy workaround is to specify email.Util as a necessary
module to import. But I'll report a python bug or submit a urllib patch.
-- Russell
More information about the Pythonmac-SIG
mailing list