[Tkinter-discuss] Tkinter-discuss Digest, Vol 89, Issue 5

Ned Deily nad at acm.org
Sat Jul 16 00:05:02 CEST 2011

In article <97F9C28A-ECE0-4C50-9E26-1DCDEBDDDC96 at me.com>,
 Guido Carballo-Guerrero <charras at me.com> wrote:
> I haven't install python 3.1, and as far as I knew, 3.1 was a little bit 
> different than 2.7 with respect to ttk, or maybe is python 3.2. By the way, 
> why you're installing 3.1 instead of 3.2? You know, 3.2 is the latest 
> version, maybe installing this version is easier, but any way, this is what I 
> did to make 2.7 work with ttk:
> 1. download the source code and not the installer package
> 2. uncompress the file--the computer does this automatically for you
> 3. go where the package was uncompress using the terminal--oper a terminal, 
> and type: ls ~/Downloads/python..., instead of the points write the name of 
> the folder that was created when you uncompress the file you download
> 4. type the following commands one at a time and press enter for each 
> command:
> 	./configure --enable-universalsdk --enable-framework
> 	make
> 	make frameworkinstall
> After this Python should be already install in your computer, and you should 
> be able to use ttk. Remember that to import ttk on version 3.x you should do: 
> import tkinter.ttk

There is no need to build Python from source to use ttk on current Mac 
OS X systems.   Just download the python.org 64-/32- bit installers for 
Python 2.7 or 3.2 and ActiveState Tcl/Tk 8.5.  More details here:


 Ned Deily,
 nad at acm.org

More information about the Tkinter-discuss mailing list