[Pythonmac-SIG] PIL (1.1.6) working with py2app on intel macs?

Dav Clark dav at alum.mit.edu
Thu Jul 26 06:42:13 CEST 2007


OK - last thing...

I figured out that the missing .so files were (at least largely) from
the standard python lib-dynload directory.  I tried copying the files
from 

/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynload/* 

to

Contents/Resources/lib/python2.3/lib-dynload/

This also did not work.

Cheers,
Dav

On Thu, 26 Jul 2007 00:26:03 -0400, "Dav Clark" <dav at alum.mit.edu> said:
> I'll add to the below - on the Intel version, I have _only_ _imaging.so
> and _imagingtk.so.  On my (working) PPC version, there are heaps of .so
> libs in the lib-dynload dir.
> 
> Thanks,
> DC
> 
> On Thu, 26 Jul 2007 00:16:54 -0400, "Dav Clark" <dav at alum.mit.edu> said:
> > Hi there,
> > 
> > I have a properly working copy of PIL 1.1.6 - I used this generic
> > recipe:
> > 
> > http://wiki.python.org/moin/MacPython/UniversalLibrariesAndExtensions
> > 
> > I can load jpegs and see them in preview with im.show().
> > 
> > I installed py2app via easy_install, and also by downloading the tarball
> > and installing... I see old posts about rebuilding the bootstrap, but no
> > idea if this is still current, and if so what the bootstrap even _is_,
> > let alone how to build it.
> > 
> > But when I run an 'app', I still get the ol':
> > 
> > ImportError: The _imaging C module is not installed
> > 
> > Under Contents/Resources/lib/python2.3/lib-dynload/, I see both a
> > _imaging.so AND a PIL/_imaging.so (among other things).
> > 
> > I am using the system python2.3.
> > 
> > Is anyone successful with this configuration?  Any help would be
> > appreciated!
> > 
> > Dav Clark
> -- 
> Dav Clark
> www.eCult.org
> 917-544-8408
> 
-- 
Dav Clark
www.eCult.org
917-544-8408



More information about the Pythonmac-SIG mailing list