[mod_python] PIL not working in mod_python on macosx 10.5

Arnaud Delobelle delobelle at blueyonder.co.uk
Wed Nov 7 01:27:58 EST 2007


On 7 Nov 2007, at 00:59, Graham Dumpleton wrote:
>
[...]
> Post here what is output to the Apache error log file.


This is the tail of error_log:

	File "/Users/arno/Sites/square.py", line 43, in <module>
     		import _imaging

	ImportError: dlopen(/Library/Python/2.5/site-packages/PIL/ 
_imaging.so, 2): no suitable image found.  Did find:
	/Library/Python/2.5/site-packages/PIL/_imaging.so: no matching  
architecture in universal wrapper
So this is as I suspected first.  But how is that as python is i386/ 
ppc and so is _imaging.so?

-- 
Arnaud




More information about the Mod_python mailing list