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
participants (1)
-
Lin Shao