Tkinter installation problems

Mladen Bestvina bestvina at math.utah.edu
Wed Feb 23 11:45:49 EST 2000


Fredrik Lundh wrote:

> you've stumbled upon a basic Python feature: you cannot
> change the indentation level unless you're opening a new
> block.
> 
> in other words, get rid of that extra leading space, and see
> if you get any further.

Sorry, here it is again:

mladen at drava:/home/mladen/projects/grayson > python
Python 1.5.2 (#4, Feb 14 2000, 16:39:33)  [GCC pgcc-2.91.57 19980901
(egcs-1.1 re on linux2
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.



More information about the Python-list mailing list