>>>>> Edward Grefenstette <egre...@gmail.com> (EG) wrote:
>EG> Any attempt to do anything with Tkinter (save import) raises the >EG> following show-stopping error: >EG> "Traceback (most recent call last): >EG> File "<stdin>", line 1, in <module> >EG> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >EG> python2.6/lib-tk/Tkinter.py", line 1645, in __init__ >EG> self._loadtk() >EG> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ >EG> python2.6/lib-tk/Tkinter.py", line 1659, in _loadtk >EG> % (_tkinter.TK_VERSION, tk_version) >EG> RuntimeError: tk.h version (8.4) doesn't match libtk.a version (8.5)" >EG> As you can see, I'm running the vanilla install python on OS X 10.5.7. >EG> Does anyone know how I can fix this? Google searches have yielded >EG> results ranging from suggestions it has been fixed (not for me) to >EG> recommendations that the user rebuild python against a newer version >EG> of libtk (which I have no idea how to do). >EG> I would greatly appreciate any assistance the community can provide on >EG> the matter. Have you installed Tk version 8.5? If so, remove it. You might also install the latest 8.4 version. -- Piet van Oostrum <p...@cs.uu.nl> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org -- http://mail.python.org/mailman/listinfo/python-list