Problem with PIL
Anand
anandpillai6 at yahoo.com
Mon Apr 1 06:23:36 EST 2002
Hi
I installed the latest beta version of PIL on Windows NT. When I try
to
run one of the sample programs I am getting the error as follows:
$python player.py D:/users/anand/docs/docs/*.gif
loading...
Traceback (most recent call last):
File "player.py", line 120, in ?
UI(root, im).pack()
File "player.py", line 51, in __init__
self.image = ImageTk.PhotoImage(im)
File "d:\python21\lib\PIL\ImageTk.py", line 68, in __init__
image.load()
File "d:\python21\lib\PIL\ImageFile.py", line 126, in load
self.load_prepare()
File "d:\python21\lib\PIL\ImageFile.py", line 180, in load_prepare
self.im = Image.core.new(self.mode, self.size)
File "d:\python21\lib\PIL\Image.py", line 37, in __getattr__
raise ImportError, "The _imaging C module is not installed"
ImportError: The _imaging C module is not installed
Exception exceptions.AttributeError: "PhotoImage instance has no
attribute '_Pho
toImage__photo'" in <method PhotoImage.__del__ of PhotoImage instance
at 00D9301
C> ignored
I can find the installation file _imaging.pyd under "DLLs" directory
in the installation directory of PIL. What else am I missing here...
Thanks for any help in advance,
Anand
More information about the Python-list
mailing list