Tkinter installation problems

Fredrik Lundh effbot at telia.com
Wed Feb 23 12:44:36 EST 2000


Mladen Bestvina <bestvina at math.utah.edu> wrote:
> Fredrik Lundh wrote:
> >
> > Tkinter as distributed with Python 1.5.2 does *not* work with
> > Tk 8.1 and later.  either use 8.0.5, or get patches from here:
>
> I have Tk 8.0.5:
>
> mladen at drava:/home/mladen/projects/grayson > wish
> % info library
> /usr/local/lib/tcl8.0
> %

well, that only means that wish was linked against 8.0,
not that _tkinter.so is linked against it...

but alright, try setting TK_LIBRARY and TCL_LIBRARY to
point to the configuration files, e.g:

    % export TCL_LIBRARY=/usr/local/lib/tcl8.0/library
    % export TK_LIBRARY=/usr/local/lib/tk8.0/library

</F>





More information about the Python-list mailing list