[ILUG] python configuration for Tcl/Tk
Philip Reynolds
phil at redbrick.dcu.ie
Fri Sep 29 17:48:17 IST 2000
Fred Cummins's [fred.cummins at ucd.ie] 33 lines of dribble included:
:>Hi, I (long ago) upgraded by Tcl/Tk distro to 8.2 from 8.0, and promptly
:>broke most programs using Tcl/Tk (ical, netcfg are sorely missed). I
:>need the more recent Tcl/Tk distro, and keep waiting for the others to
:>catch up. but they don't. Having upgraded netcfg, I still get the
:>message:
:>
:> File "/usr/lib/rhs/netcfg/netcfg.py", line 23, in ?
:> from Tkinter import *
:> File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 5, in ?
:> import _tkinter # If this fails your Python is not configured for Tk
:>
:>So I upgrade python too. No joy. the message remains the same. I have
:>never got used to this constant upgrading thing with crossed
:>dependencies and such. Seems like RPM and other tools were made to
:>avoid this kind of problem. sigh. Anyone know what the point is that
:>I'm missing here? Do I have to go and reinstall Tcl/Tk 8.0, and figger
:>out how to have both distros present at once?
Did you upgrade python with TK support?
Tcl shouldn't have many (if any) problems from upgrading 8.0 to 8.2. This is a
python error, recompile Python with TK support and have a look at
python.org/doc
The FAQ will probably answer most of your questions.
Phil.
More information about the ILUG
mailing list