On 26 Jul, 2007, at 6:42, Dav Clark wrote:

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.

That was to be expected. py2app won't copy the Python interpreter or stdlibrary from /System/Library/Python but will store a reference to those. That's because /System/Library/Python is part of the system install and hence present on all macs. Furthermore copying parts of the system into your application bundle is not quite permitted by the OSX license.

I haven't had time to look at your problem yet. Does the problem occur in a small application that just uses PIL to load a JPG image or only in larger programs? If the latter, could you supply a project that reproduces this problem?

Ronald



Cheers,
Dav

On Thu, 26 Jul 2007 00:26:03 -0400, "Dav Clark" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to