The _imaging extension was built for another version of Python

jim_hill_au <[email protected]> Mon, 07 Jul 2008 15:30:26 +1000
Newsgroups gmane.comp.python.pythoncard,gmane.comp.python.image
Message-ID <[email protected]>
On 2006-03-12, Fredrik Lundh wrote:

 > it sure looks as if Python's picking up some _imaging.pyd 
file > that doesn't match the Python interpreter you're using.
 >
 > have you verified that you don't have some old _imaging file
 > lying around somewhere ?

I just ran into this problem when first using PythonCard,
and would like to put this solution on record:

The new version of _imaging.pyd is in
x:\Python\Lib\site-packages\PIL

but in
x:\Python\DLLs
I found older versions of both _imaging.pyd and _imagingft.pyd, 
dated 2004-12-10.

removing these solved the problem.

-- jim


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08