In article <97f9c28a-ece0-4c50-9e26-1dcdebddd...@me.com>, Guido Carballo-Guerrero <char...@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: http://www.python.org/download/mac/tcltk/ -- Ned Deily, n...@acm.org _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss