Tcl isn't installed properly: directory structure wrong

Leo leo.broska at
Wed Jun 4 12:28:21 CEST 2003

hi all

i have problems installing python, or now more exact, to use Tcl on Windows

i have installed python with the installer Python-2.2.3.exe (size: 7334106
bytes). pthyon itself works, but starting the shell idle doesn't, even after
a reinstall.

when i try to start the idle from a shell in the directory c:\python22 with
the command
    python tools\idle\
then II get the error message:

|   Traceback (most recent call last):
|     File "tools\idle\", line 4, in ?
|       PyShell.main()
|     File "C:\Python22\Tools\idle\", line 748, in main
|       root = Tk(className="Idle")
|     File "C:\Python22\lib\lib-tk\", line 1511, in __init__
| = _tkinter.create(screenName, baseName, className)
|   TclError: Can't find a usable init.tcl in the following directories:
|       {C:\WN16\LIB\TCL7.6} {} {C:\WN16\LIB\TCL7.6} C:/WN16/LIB/tcl8.3
|   lib/tcl8.3 C:/lib/tcl8.3 lib/tcl8.3 lib/tcl8.3/library library

the path list seem to be wrong. i have no dir c:/python22/lib/tcl/8.3 but

how can i fix that? how can i customize the paths and what is the satndard
dir structure for tcl, etc?

many thanks in advance, leooo

More information about the Python-list mailing list