This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author keflavich
Recipients keflavich, ned.deily, ronaldoussoren
Date 2009-07-08.15:05:30
SpamBayes Score 0.0014262868
Marked as misclassified No
Message-id <1247065533.17.0.251181010063.issue6441@psf.upfronthosting.co.za>
In-reply-to
Content
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."
History
Date User Action Args
2009-07-08 15:05:33keflavichsetrecipients: + keflavich, ronaldoussoren, ned.deily
2009-07-08 15:05:33keflavichsetmessageid: <1247065533.17.0.251181010063.issue6441@psf.upfronthosting.co.za>
2009-07-08 15:05:31keflavichlinkissue6441 messages
2009-07-08 15:05:30keflavichcreate