Tcl isn't installed properly: directory structure wrong

Leo leo.broska at NOSPAM.isys.com.au
Wed Jun 4 06:28:21 EDT 2003


hi all

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

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\idle.py
then II get the error message:

|   Traceback (most recent call last):
|     File "tools\idle\idle.py", line 4, in ?
|       PyShell.main()
|     File "C:\Python22\Tools\idle\PyShell.py", line 748, in main
|       root = Tk(className="Idle")
|     File "C:\Python22\lib\lib-tk\Tkinter.py", line 1511, in __init__
|       self.tk = _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
C:/Python22/
|   lib/tcl8.3 C:/lib/tcl8.3 lib/tcl8.3 lib/tcl8.3/library library
../tcl8.3/library

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

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