[Tkinter-discuss] how make active python 3 use active tcl on mac os?
michael.odonnell at uam.es
Thu Nov 25 09:20:45 CET 2010
Sorry for a vague answer, but I had similar problems
some years ago and the solution was to recompile
python, and in a particular file put the search path
for the tk library.
Can't remember offhand which file,
On Wed, Nov 24, 2010 at 10:38 PM, Ned Deily <nad at acm.org> wrote:
> In article
> <AANLkTim-ncqJMC1_kCMj4qp786j1UCQ=d2nPiU6+UcUz at mail.gmail.com>,
> David Cortesi <davecortesi at gmail.com> wrote:
>> well, this was interesting, I didn't know about arch. As you supposed,
>> running python3 produces a Python process that Activity Monitor says is
>> "Intel (64 bit)".
>> However, arch -i386 python3 produces exactly the same thing as I get using
>> arch -x86_64, namely, an Intel(64 bit) process (and loading the same
>> _tkinter.so). Hmmm. This would suggest there is only the one architecture
>> defined in its binary?
>> applying otool -L to the _tkinter.so that python3 is loading reports
>> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Tcl" and etc, so
>> indeed, the Apple Tcl is baked into the dynamic load lib distributed with
>> I cannot find any other version of _tkinter.so that might have been
>> installed by ActiveTcl. So I'm pretty baffled, as well as disappointed that
>> there's been no response in the ActiveState "support" forum.
> Ah, sorry, I forgot this was 3.1: unless the ActiveState people
> backported some stuff from the upcoming Python 3.2, the "arch" trick
> won't work on OS X 10.6 to select between 32-bit and 64-bit modes.
> Check the framework bin directory
> (/Library/Frameworks/Python.framework/Versions/3.1/bin) for something
> like a python3-32 executable and, if found, try using that.
> Ned Deily,
> nad at acm.org
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
More information about the Tkinter-discuss