Mailing List Archive

TclError: Can't find a usable init.tcl
Hi,

I installed Tcl8.1, Tk8.1 and Python1.5. Trying

tk=Tkinter.Tk()

I get the error message
...
TclError: Can't find a usable init.tcl in the following directories:


This probably means that Tcl wasn't installed properly.

The directory list which is searched for init.tcl is obviously empty. My
init.tcl is in the directory /usr/local/lib/tcl8.1. How can I make
Python to search in this directory?

I would be very appreciative for help.

Rolf

------------------------------------------------------------
# Rolf Wester
# Fraunhofer Institut f. Lasertechnik
# Steinbachstr. 15, D-52074 Aachen, Germany.
# Tel: + 49 (0) 241 8906 0, Fax: +49 (0) 241 8906 121
# EMail: wester@ilt.fhg.de, WWW: http://www.ilt.fhg.de
TclError: Can't find a usable init.tcl [ In reply to ]
Hi,
Tcl8.1 and Tk8.1 are not compatible with Python 1.5. There is a patch to
solve this. You may find a link to this patch in the python-list
archive.
Arpad Kiss

Rolf Wester <WESTER@ilt.fhg.de> wrote in message
news:<37A5A1BA.77BDF2B3@ilt.fhg.de>...
> Hi,
>
> I installed Tcl8.1, Tk8.1 and Python1.5. Trying
>
> tk=Tkinter.Tk()
>
> I get the error message
> ...
> TclError: Can't find a usable init.tcl in the following directories:
>
>
> This probably means that Tcl wasn't installed properly.
>
> The directory list which is searched for init.tcl is obviously empty. My
> init.tcl is in the directory /usr/local/lib/tcl8.1. How can I make
> Python to search in this directory?
>
> I would be very appreciative for help.
>
> Rolf
>
> ------------------------------------------------------------
> # Rolf Wester
> # Fraunhofer Institut f. Lasertechnik
> # Steinbachstr. 15, D-52074 Aachen, Germany.
> # Tel: + 49 (0) 241 8906 0, Fax: +49 (0) 241 8906 121
> # EMail: wester@ilt.fhg.de, WWW: http://www.ilt.fhg.de
>
>
>
> --
> http://www.python.org/mailman/listinfo/python-list
>