[New-bugs-announce] [issue6441] Tkinter cannot find *64 bit* Tcl/Tk on Mac OS X

Adam Ginsburg report at bugs.python.org
Wed Jul 8 17:05:33 CEST 2009


New submission from Adam Ginsburg <keflavich at gmail.com>:

While it is possible to compile 64 bit python on Mac OS X, the default
tcl/tk is NOT 64 bit.  If you do install a 64 bit version of tcl/tk,
python still will not find it - lines 1503-1515 prevent it:

        if 'x86_64' in archs or 'ppc64' in archs:
            try:
                archs.remove('x86_64')
            except ValueError:
                pass
            try:
                archs.remove('ppc64')
            except ValueError:
                pass

            for a in archs:
                frameworks.append('-arch')
                frameworks.append(a)


I was able to successfully get 64 bit tkinter working by commenting out
these lines as suggested by Ned Deily.

Ronald Oussoren suggests:
"BTW. The correct fix would be to add a probe to setup.py that detects
if Tcl/Tk was build with 64-bit support or not."

----------
components: Tkinter
messages: 90269
nosy: keflavich, nad, ronaldoussoren
severity: normal
status: open
title: Tkinter cannot find *64 bit* Tcl/Tk on Mac OS X
type: crash
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6441>
_______________________________________


More information about the New-bugs-announce mailing list