problems using Tkinter

Gordon Vinther gvinther at atex.com
Mon Jun 7 22:44:37 CEST 1999


Fredrik Lundh <fredrik at pythonware.com> wrote in message
news:02fc01beadf0$b3c3ea30$f29b12c2 at pythonware.com...
> 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>
>
I tried the environment variables with no help.  Doesn't this look like a
Tcl/tk problem?  Has anyone run Python with the new version of  Tcl/Tk8.nn??
This is completely new code.  Mayby Tkinter doesn't run with it.
It seems Tcl is complaining about a command it doesn't understand....!!!!!!
and not that it is not being communicated with.









More information about the Python-list mailing list