And Now For Something Completely Similar !!!

David Oppenheimer davidopp at megsinet.net
Wed Sep 1 03:51:21 EDT 1999


Dear Group,

I have tried just about everything except hitting this infernal machine
with a hammer.  If you have had any success using the hammer method to
get Python win to run painter.py, please let me know.

After repeated attempts (including redownloading & reinstalling Python
and related Windows software a couple of times), I am getting the
following error message (traceback sounds much more romantic though!)

>>> Traceback (innermost last):
  File "C:\Program
Files\Python\Pythonwin\pywin\framework\scriptutils.py", line 237, in
RunScript
    exec codeObject in __main__.__dict__
  File "C:\Program Files\Python\scripts\painter.py", line 12, in ?
    import Image, ImageTk
ImportError: No module named Image"

Important (or maybe irrelevant, you decide) Info

Running Win98 on a P-75 Packard Hell
Python executable (interpreter) is here C:\Program Files\Python
Tcl is here C:\Program Files\Tcl

These are the current settings in my Autoexec.bat:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;
set PATH=%PATH%C:\mingw32\bin;
set PATH=%PATH%C:\PROGRA~1\PYTHON;C:\PROGRA~1\TCL\BIN;

My best guesses are
1) The Image module is somewhere else and must be so defined in my path
statement
2) Somehow I made a mistake when I installed the Python 1.5.2 program
from the self installing executable
3) I was never meant to run any program which calls upon any Tkinter
module

I am open to any suggestions.

David O.








More information about the Python-list mailing list