problems using Tkinter

Fredrik Lundh fredrik at pythonware.com
Thu Jun 3 20:41:29 CEST 1999


Gordon Vinther <gvinther at atex.com> wrote:
> I get the following error whenever I attempt to use Tk
> 
> Os AIX4.2.1
> Python 1.5.2
> Tk/TCL 8.0.1
> 
> from Tkinter import  *  .............this works
> root=Tk() ........... this errors with the following message
> 
> File "/usr/local/lib/python1.5/lib-tk/Tkinter.py", line 886, in __init__
> self.tk = _tkinter.create(screenName, baseName, className)
> 
> TclError: invalid command name "tcl_findLibrary"

looks like tkinter is picking up the wrong Tcl/Tk
library files.   try setting the TCL_LIBRARY and
TK_LIBRARY environment variables.

</F>





More information about the Python-list mailing list