problems with PIL

Davide Carboni dcarboni at crs4.it
Thu Feb 8 17:38:57 CET 2001


Hi to all,

I'm fighting against PIL, I put _imaging20.dll and _imagingTK.dll in DLLs
but when I try the piece of code below I get the error, wht's wrong in your
opinion ??
Thanx.




>>> import Image
>>> i=Image.new("PPM",(100,100))
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "c:\bin\python20\extensions\PIL\Image.py", line 848, in new
    return Image()._makeself(core.fill(mode, size, color))
  File "c:\bin\python20\extensions\PIL\Image.py", line 43, in __getattr__
    raise ImportError, "The _imaging C module is not installed"
ImportError: The _imaging C module is not installed

--
_______________________________________________________________________

 Davide Carboni                         Email: davide.carboni at crs4.it
 Network Distributed Applications       Phone: +39 070 2796 303
 CRS4, VI Str. Ovest, Z.I. Macchiareddu ICQ  # 107447153
 I-09010 Uta (CA), ITALY                WWW  : www.crs4.it/~dcarboni
_______________________________________________________________________





More information about the Python-list mailing list