[Image-SIG] trouble using PIL on windows

Reza Habib reza@psych.utoronto.ca
Tue, 29 Feb 2000 11:16:53 -0500


Hi.  No, I didn't compile python.  I downloaded the pre-built python 1.5.2
for windows.  Thanks for your help.

Reza


-----Original Message-----
From: image-sig-admin@python.org [mailto:image-sig-admin@python.org]On
Behalf Of Georg Mischler
Sent: Tuesday, February 29, 2000 11:03 AM
To: image-sig@python.org
Subject: RE: [Image-SIG] trouble using PIL on windows


Reza Habib wrote:

> Hi.  Still no luck.  Neither changing the name to _imaging.pyd or moving
the
> file to the root python directory allowed it to be loaded, always
producing
> the same error (see below).  This is quite strange since I have no trouble
> loading the other modules I have installed (pymat, numpy, wxpython,
> tkinter).  Could there be files missing in the windows distribution of
PIL -
> I downloaded this file:  pil-win32-991101.zip.  Any other suggestions?

Did you compile Python yourself, and are running a debug build?
If so, then all your external modules need to be debug builds
as well (or at least the file name should follow the xxx_d.pyd
pattern).
It took me about two days to figure out that this was the
reason I couldn't load _tkinter.pyd myself. As far as I can
tell, this behaviour is completely undocumented, but of course
I may have overlooked something.

If this doesn't help you, then I'll have to pass the topic
over to the experts...


-schorsch

--
Georg Mischler  --  simulations developer  --  schorsch at schorsch.com
+schorsch.com+  --  lighting design tools  --  http://www.schorsch.com/


_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://www.python.org/mailman/listinfo/image-sig