Problem with Tk on Windows

Simon Foster simon at
Mon Oct 27 01:46:26 CET 2003

Hi all,

Has anyone seen the follwoing message on the Windows platform
when tring to use Tk?


>>> import Tkinter
>>> root = Tkinter.Tk()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "c:\python23\lib\lib-tk\", line 1564, in __init__ = _tkinter.create(screenName, baseName, className)
_tkinter.TclError: Can't find a usable init.tcl in the following
    c:/python23/lib/tcl8.4 c:/lib/tcl8.4 c:/library

This probably means that Tcl wasn't installed properly.


Anyone know the solution?
Simon Foster
Somewhere in the West of England

More information about the Python-list mailing list