[wxpython-users] py2app Mac

Christopher Barker Chris.Barker at noaa.gov
Thu May 8 11:43:26 PDT 2008


Mariano Di Felice wrote:
> When I start my app in another mac, there is this exception:
> 
>    "Import Image"
> ImportError: No module named Image
> 
> any another suggestion???

How did you install PIL? where does it live?

As I said, the py2app recipe should handle this, and it does for me.

Do make sure you have the latest py2app


>>>  File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
>>> line 179, in find_needed_modules

>> Some of these paths seem a bit squirrelly.  Are you sure you have 
>> py2app and it's dependencies installed correctly?

I agree -- it looks like you're running py2app from it's install dir, 
rather than in the system python -- not sure what difference that would 
make, but it's worth trying.

by the way, you might want to post this to the pythonmac list, it's no 
longer a wx issue, and there may be folks there that can help.

One more note -- a *.app is just a special directory -- you can look in 
it and see what got put where. either use the command line, or right 
click on it and select "Show Package Contents"

-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 wxpython-users mailing list