Python and TCL (Tkinter) problem

Ralph Kopp ralph.kopp at technidata.de
Wed Feb 2 05:31:12 EST 2000


Hello, everybody ....

I have an problem with python and tcl8.1 and I hope somebody can help me
.....

Following output I got when I test the tkinter:
--------------------------------------------------------------------------------------------------

Python 1.5.2 (#5, Feb  1 2000, 11:10:07)  [GCC 2.95.2 19991024
(release)] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import _tkinter
>>> import Tkinter
>>> Tkinter._test()
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python1.5/lib-tk/Tkinter.py", line 1947, in _test

    root = Tk()
  File "/usr/local/lib/python1.5/lib-tk/Tkinter.py", line 886, in
__init__
    self.tk = _tkinter.create(screenName, baseName, className)
TclError: Can't find a usable init.tcl in the following directories:


 This probably means that Tcl wasn't installed properly.
----------------------------------------------------------------------------------------------------

The init.tcl is in /usr/local/lib/tcl8.1 ....!?? In the Setup file from
python this path exist and python was successfully compile. I have
test the tcl installation successfully too.

Did somebody know whats the problem is ....

Thanx ...

Ralph





More information about the Python-list mailing list