[Tkinter-discuss] how make active python 3 use active tcl on mac os?

Ned Deily nad at acm.org
Tue Nov 30 06:06:08 CET 2010


In article 
<AANLkTim5C2YjTk3FrDBUX9_COuhvkajXe-XeuwuqvCNr at mail.gmail.com>,
 David Cortesi <davecortesi at gmail.com> wrote:
> Supposing I did this, will this fix the original problem that I started out
> to solve, namely, getting Python3 to link to ActiveTCL? It seems not,
> because Mac/README says "If you want Tkinter support you need to get the OSX
> AquaTk distribution, this is installed by default on Mac OS X 10.4 or
> later." In other words, it's going to build _tkinter.so to use
> */System*/Library/Frameworks/Tcl
> (Apple's) and not /Library/Frameworks/Tcl (Active's). Where is that
> configured? I've no idea.

Don't bother building it yourself.  Either use the 3.1.2 installer from 
here:

http://www.python.org/download/releases/3.1.2/

or wait a bit until the 3.1.3 OS X installer becomes available (I don't 
know how long that will be).  Either way, the 32-bit Pythons installed 
by the python.org installers will use an ActiveState Tcl/Tk 8.4 (from 
/Library/Frameworks) if available at run time, otherwise they will use 
the Apple-installed Tcl/Tk 8.4 in /System/Library/Frameworks.

-- 
 Ned Deily,
 nad at acm.org



More information about the Tkinter-discuss mailing list