[Image-SIG] trouble using PIL on windows

Reza Habib reza@psych.utoronto.ca
Sun, 27 Feb 2000 17:53:56 -0500

Hello.  I'm new to python and pil.  I've downloaded and installed pil and am
now trying to use it in pythonwin.  Just to test it, I typed the following
code and got this stack trace:

image = PIL.Image.fromstring('L',147030,data)

Traceback (innermost last):
  File "<interactive input>", line 1, in ?
  File "d:\programs\libraries\python\py152\PIL\Image.py", line 853, in
    im = new(mode, size)
  File "d:\programs\libraries\python\py152\PIL\Image.py", line 840, in new
    return Image()._makeself(core.fill(mode, size, color))
  File "d:\programs\libraries\python\py152\PIL\Image.py", line 40, in
    raise ImportError, "The _imaging C module is not installed"
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.