[Pythonmac-SIG] Easy way to avoid Fatal Python error: Interpreter not initialized (version mismatch?)

2007-07-25 Thread Ivan Vilata i Balaguer
I've been looking for some hours for a more-or-less easy solution or workaround to the Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap error that didn't imply uninstalling additional Pythons and the like, so I'm posting this here so at least people can find

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

2007-07-25 Thread Dav Clark
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-dyn

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

2007-07-25 Thread Dav Clark
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 work

Re: [Pythonmac-SIG] Easy way to avoid Fatal Python error: Interpreter not initialized (version mismatch?)

2007-07-25 Thread Ivan Vilata i Balaguer
Ronald Oussoren (el 2007-07-25 a les 21:33:28 +0200) va dir:: > Your instructions are technically valid, but... > > The right way (TM) to fix this is to change the project that uses '- > framework Python' to link extensions because that is not the > recommended way to link extensions on OSX. T

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

2007-07-25 Thread Ronald Oussoren
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/*

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

2007-07-25 Thread Dav Clark
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 install

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

2007-07-25 Thread Dav Clark
It is a very minimal, one-script program. All it does is use PIL to load a jpeg, rescale it and save it as a pgm. One thing I didn't mention (but that I checked the PIL recipe regarding) was that I have the libs for libjpeg and libfreetype installed in non-standard places - namely in ~/lib.

Re: [Pythonmac-SIG] Easy way to avoid Fatal Python error: Interpreter not initialized (version mismatch?)

2007-07-25 Thread Ronald Oussoren
On 25 Jul, 2007, at 18:46, Ivan Vilata i Balaguer wrote: I've been looking for some hours for a more-or-less easy solution or workaround to the Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap error that didn't imply uninstalling additional Pythons and the