Help for a newbie trying to run PIL
David Lees
debl.nospamm at world.std.com
Sat May 13 02:30:09 EDT 2000
I have tried installing PIL and am running Python 1.5.2 under Win95.
When I try running the viewer.py script I get the following errors.
Sorry about cr/lf being messed up. I just did a paste and cut.
Could someone point me to documentation on installing and using PIL?
Thanks.
David Lees
PythonWin 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on
win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
Portions Copyright 1994-1999 Mark Hammond (MHammond at skippinet.com.au)
>>> Traceback (innermost last):
File "g:\Python\Pythonwin\pywin\framework\scriptutils.py", line 237,
in RunScript
exec codeObject in __main__.__dict__
File "G:\Python\py152\Scripts\viewer.py", line 44, in ?
UI(root, im).pack()
File "G:\Python\py152\Scripts\viewer.py", line 23, in __init__
self.image = ImageTk.PhotoImage(im)
File "g:\Python\PIL\ImageTk.py", line 67, in __init__
image.load()
File "g:\Python\PIL\ImageFile.py", line 117, in load
self.map = Image.core.map(self.filename)
File "g:\Python\PIL\Image.py", line 40, in __getattr__
raise ImportError, "The _imaging C module is not installed"
ImportError: The _imaging C module is not installed
Exception exceptions.AttributeError: '_PhotoImage__photo' in <method
PhotoImage
More information about the Python-list
mailing list