[Pythonmac-SIG] IDLE on Python-2.6 release version
kent37 at tds.net
Mon Oct 6 21:34:26 CEST 2008
Rajanikanth Jammalamadaka rajanikanth at gmail.com wrote:
Thanks for your reply Kevin. I installed Tk 8.5 but now I get this error:
Traceback (most recent call last):
line 5, in <module>
line 1382, in main
root = Tk(className="Idle")
line 1645, in __init__
line 1659, in _loadtk
% (_tkinter.TK_VERSION, tk_version)
RuntimeError: tk.h version (8.4) doesn't match libtk.a version (8.5)
I am seeing this same problem with Python 2.6 on Mac OSX 10.4. First I had
I installed ActiveState Tk 8.5, now I see the error above. Somehow
_tkinter.TK_VERSION is '8.4' but the version of Tk that is searched
and loaded is 8.5.
I previously installed Python 2.6rc2 and rc3 from source, could that
have something to do with this? I do seem to be loading the correct
In : _tkinter.__file__
kent $ ls -l /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_tkinter.so
-rwxrwxr-x 1 root admin 225936 Oct 1 19:49
I hesitate to blame my tools but this looks to me like a build problem
in the _tkinter module...
Also the Python 2.6 installer did not install /Applications/MacPython
2.6 at all.
PS Apologies to pythonmac-sig-owner, I originally sent this to that
address by mistake...
More information about the Pythonmac-SIG