[SciPy-user] EPD PIL _imaging C module

Lin Shao shao@msg.ucsf....
Thu Apr 24 14:24:35 CDT 2008


Running scipy.test() in the latest EPD windows distribution, I got the
following exception:

======================================================================
ERROR: test_imresize (scipy.misc.tests.test_pilutil.test_pilutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"E:\Python25\lib\site-packages\scipy-0.6.0.0003-py2.5-win32.egg\scipy\misc\tests\test_pilutil.py",
line 17, in test_imresize
    im1 = pilutil.imresize(im,T(1.1))
  File
"E:\Python25\lib\site-packages\scipy-0.6.0.0003-py2.5-win32.egg\scipy\misc\pilutil.py",
line 225, in imresize
    im = toimage(arr)
  File
"E:\Python25\lib\site-packages\scipy-0.6.0.0003-py2.5-win32.egg\scipy\misc\pilutil.py",
line 104, in toimage
    image = Image.fromstring('L',shape,bytedata.tostring())
  File
"E:\Python25\lib\site-packages\PIL-1.1.6.0003_s-py2.5-win32.egg\PIL\Image.py",
line 1743, in fromstring
    im = new(mode, size)
  File
"E:\Python25\lib\site-packages\PIL-1.1.6.0003_s-py2.5-win32.egg\PIL\Image.py",
line 1710, in new
    return Image()._new(core.fill(mode, size, color))
  File
"E:\Python25\lib\site-packages\PIL-1.1.6.0003_s-py2.5-win32.egg\PIL\Image.py",
line 36, in __getattr__
    raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed

It's a bit strange because I do see _imging.pyd in the PIL folder. I'm using
XP 32-bit.

-lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080424/eefe9ae7/attachment.html 


More information about the SciPy-user mailing list