Hi All
I installed py1.5.2 with tcl/tk.8.1 on SuSE6.1 Linux.
After:
import Tkinter
Tkinter._test()
I get the following error, which I do not unerstand:
-----cut
>>python
Python 1.5.2 (#4, Jul 4 1999, 12:25:56) [GCC egcs-2.91.66 19990314
(egcs-1.1.2 on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Tkinter
>>> Tkinter._test()
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/per/lib/python1.5/lib-tk/Tkinter.py", line 1947, in _test
root = Tk()
File "/per/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.
----cut
It seems, that python looks in some directories, which it does not
have. What do I have to do?
Thanks, Per.
--
Per Kistler kistler@fnmail.com / kistler@gmx.net
------------------------------------------------------------
I installed py1.5.2 with tcl/tk.8.1 on SuSE6.1 Linux.
After:
import Tkinter
Tkinter._test()
I get the following error, which I do not unerstand:
-----cut
>>python
Python 1.5.2 (#4, Jul 4 1999, 12:25:56) [GCC egcs-2.91.66 19990314
(egcs-1.1.2 on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Tkinter
>>> Tkinter._test()
Traceback (innermost last):
File "<stdin>", line 1, in ?
File "/per/lib/python1.5/lib-tk/Tkinter.py", line 1947, in _test
root = Tk()
File "/per/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.
----cut
It seems, that python looks in some directories, which it does not
have. What do I have to do?
Thanks, Per.
--
Per Kistler kistler@fnmail.com / kistler@gmx.net
------------------------------------------------------------