[Image-SIG] trouble using PIL on windows
Reza Habib
reza@psych.utoronto.ca
Tue, 29 Feb 2000 08:09:17 -0500
Hi. Thanks for the advice. I put the _imaging.dll in the python root
directory (i.e. d:\python). It still won't load. When I type:
import _imaging
I get the following error:
Traceback (innermost last):
File "<interactive input>", line 1, in ?
ImportError: DLL load failed: The specified module could not be found.
When I do sys.path however, it lists d:\python as being part of the python
search path. Any other suggestions? Thanks again.
Reza
-----Original Message-----
From: image-sig-admin@python.org [mailto:image-sig-admin@python.org]On
Behalf Of Fredrik Lundh
Sent: Monday, February 28, 2000 4:44 AM
To: Reza Habib; image-sig@python.org
Subject: Re: [Image-SIG] trouble using PIL on windows
> ImportError: The _imaging C module is not installed
>
> How do I install the _imaging C module? I see a file called _imaging.dll,
> but for some reason it is not being loaded (no matter which directory I
copy
> this file to). Any help would be appreciated. Thank you.
the _imaging.dll file should be placed some-
where along your Python search path.
to figure out what goes wrong, fire up your
python interpreter and type:
>>> import _imaging
if you get an ImportError, check that sys.path
is what you expect:
>>> import sys
>>> sys.path
[list of directories]
</F>
_______________________________________________
Image-SIG maillist - Image-SIG@python.org
http://www.python.org/mailman/listinfo/image-sig