ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
Re: [wxpython-users] py2app Mac
by Mariano Di Felice other posts by this author
May 8 2008 9:51AM messages near this date
Re: [wxpython-users] py2app Mac | Re: [wxpython-users] py2app Mac
Ooooopss, another problem....

When I start my app in another mac, there is this exception:

    "Import Image"
ImportError: No module named Image

any another suggestion???

Robin Dunn ha scritto:
>  Mariano Di Felice wrote:
> > Hi,
> >    I'm working with py2app in MacOSX ( tiger intel ), and I would 
> > like build an app.
> > When I launch:
> > python myscript.py py2app will raise this exception:
> >
> > Traceback (most recent call last):
> >  File "/Users/mar/Desktop/py2app-0.3.6/py2app/build_app.py", line 
> > 548, in _run
> >    self.run_normal()
> >  File "/Users/mar/Desktop/py2app-0.3.6/py2app/build_app.py", line 
> > 600, in run_normal
> >    mf = self.get_modulefinder()
> >  File "/Users/mar/Desktop/py2app-0.3.6/py2app/build_app.py", line 
> > 508, in get_modulefinder
> >    debug=debug,
> >  File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
> > line 243, in find_modules
> >    find_needed_modules(mf, scripts, includes, packages)
> >  File "build/bdist.macosx-10.3-i386/egg/modulegraph/find_modules.py", 
> > line 179, in find_needed_modules
> >    path = m.packagepath[0]
> > TypeError: 'NoneType' object is unsubscriptable
> 
>  Some of these paths seem a bit squirrelly.  Are you sure you have 
>  py2app and it's dependencies installed correctly?
> 
> 
> >
> > I've found that if I comment remove "_imaging" from packages, py2app 
> > work properly, but, when I start my app in another Mac, an error will 
> > be raised in console containing:
> > "Import Error: The _imaging C module is not installed"
> 
>  What if you just specify 'PIL' instead?
> 
> 


-- 
/\/\ariano Di Felice
Java PHP Python Ruby programmer
with MySQL, PostgreSql, SQLite and Oracle support
Linux Platform Developer
http://www.marianodifelice.it
mariano.difelice@[...].com
Tel. 0735 703735
Cell +39 339 6407211
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chester
Werner F. Bruhin
Mariano Di Felice
Robin Dunn
Robin Dunn
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Chester
Tim Roberts
Chester
Werner F. Bruhin
Chester

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved