Python 2.3b1 and PIL 1.1.4
Richard
rshaw2 at midsouth.rr.com
Wed Apr 30 14:21:27 EDT 2003
I recently installed Python 2.3b1 and the appropriate PIL 1.1.4b1 from
effbot download (both for win32). I then tried to run a simple image
editing program I wrote with Tkinter and ran into a little problem.
The PIL install for Python 2.3 does not include the _imagingtk.pyd
file while the 2.2 version does.
Is this file not longer needed? I am not importing it directly. The
exception is as follows:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python23\lib\lib-tk\Tkinter.py", line 1337, in __call__
return self.func(*args)
File "C:\Tools\ImageTweaker\imagetweak.pyw", line 61, in open
self.show(self.image)
File "C:\Tools\ImageTweaker\imagetweak.pyw", line 71, in show
self.image_label = viewer.UI(self, image)
File "C:\Tools\ImageTweaker\viewer.py", line 23, in __init__
self.image = ImageTk.PhotoImage(im)
File "C:\Python23\lib\site-packages\PIL\ImageTk.py", line 114, in
__init__
self.paste(image)
File "C:\Python23\lib\site-packages\PIL\ImageTk.py", line 179, in
paste
import _imagingtk
ImportError: No module named _imagingtk
Thanks
More information about the Python-list
mailing list