[issue9227] can't import Tkinter / use IDLE after installing Python 2.7 on Mac OS X

Ronald Oussoren report at bugs.python.org
Mon Jul 12 07:45:19 CEST 2010

Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Mark nails the issue: there is no 64-bit version of Tk on OSX 10.5.

I'm -1 on creating a 10.6 specific installer, two installers is confusing enough.

IDLE.app somewhat works because the Makefile makes sure it gets started using a 32-bit version of the interpreter (which is a quick workaround: 'arch -i386 python2.7' starts python in 32-bit mode an Tkinter is available there)

I can't find the specific issue right now, but did file a feature request a while back for a patch that allows us to ship copies of _tkinter linked to Tk 8.4 and Tk 8.5 while having a wrapper that loads the right one.

I am however slowly moving towards liking to ship a newer version of Tk with Python. That would have to be a minimal copy of the Tcl/Tk frameworks, and would definitely require feedback from people that actually use Tkinter.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list