Well, I fix the problem. The best to install Python on a Mac is to download the source files and do:
$ ./configure --enable-universalsdk --enable-framework $ make $ make frameworkinstall Inside of the folder where you have all the files of the source. Something to remember is that you need to have SDK install in the computer. But after I did this, now I can use Python, Tkinter and ttk without any problems. And I notice that in some of the lines after one type make, Tcl, and Tk frameworks are call. Now if I do: >>> import Tkinter as Tkt >>> Tkt.TclVersion 8.5 As you can see the Tcl version is 8.5, which is what ttk needs to run without problems. Regards! Guido On Jul 11, 2010, at 4:00 AM, tkinter-discuss-requ...@python.org wrote: > Send Tkinter-discuss mailing list submissions to > tkinter-discuss@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/tkinter-discuss > or, via email, send a message with subject or body 'help' to > tkinter-discuss-requ...@python.org > > You can reach the person managing the list at > tkinter-discuss-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Tkinter-discuss digest..." > Today's Topics: > > 1. Tkinter (IDLE) freeze when I try to use ttk > (Guido Carballo-Guerrero) > 2. Re: Tkinter (IDLE) freeze when I try to use ttk (Sibylle Koczian) > > From: Guido Carballo-Guerrero <char...@me.com> > Date: July 10, 2010 10:52:11 AM GMT-06:00 > To: tkinter-discuss@python.org > Subject: [Tkinter-discuss] Tkinter (IDLE) freeze when I try to use ttk > > > Hello, I just update my Python version to 2.7. I was doing some programs > using Tkinter and ttk. By the way I have a Mac running 10.6.4. Well, after I > install Python, I install ActivePython2.6.5--I try to install 2.7.0 but at > the end of the installation it gave me an error message--and ActiveTcl, this > 'cause I discover that if I didn't do that, Python will use Tcl and Tk 8.4, > which doesn't allow me to use ttk. > > No my problem is that I can't use Python's IDLE. Well, I can only open one > window at a time. If I try to open a new window to make a program, Python > freeze. Some curios, if that if I don't have Python open, and double click on > a program, Python opens the IDLE and the program in to separate windows > without a problem, but when I try to run the program it freeze. > > I guess that this is a bug somewhere in the ttk implementation, or in Python. > Do you guys have any idea how can I solve this? Or have anybody update Python > to 2.7, and use ttk on a Mac? If so, please let me know how you manage to do > it. > > Regards! > > Guido > > > > > From: Sibylle Koczian <nulla.epist...@web.de> > Date: July 11, 2010 2:07:30 AM GMT-06:00 > To: tkinter-discuss@python.org > Subject: Re: [Tkinter-discuss] Tkinter (IDLE) freeze when I try to use ttk > > > -----Ursprüngliche Nachricht----- > Von: Guido Carballo-Guerrero <char...@me.com> >> No my problem is that I can't use Python's IDLE. Well, I can only open one >> window at a time. If I try to open a new window to make a program, Python >> freeze. Some curios, if that if I don't have Python open, and double click >> on a program, Python opens the IDLE and the program in to separate windows >> without a problem, but when I try to run the program it freeze. >> >> I guess that this is a bug somewhere in the ttk implementation, or in >> Python. Do you guys have any idea how can I solve this? Or have anybody >> update Python to 2.7, and use ttk on a Mac? If so, please let me know how >> you manage to do it. >> > As far as I know this is just because IDLE is written in tkinter. So if you > try to run another tkinter application from IDLE, the two mainloop() calls > interfere with each other. You should be able to run console applications > from IDLE, but with tkinter applications you can develop them using IDLE but > run them from a console (or whatever is used as a console on a Mac). It's > nothing to do with the Python version or with ttk and I doubt it can be > called a bug. > > HTH > Sibylle > ___________________________________________________________ > WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und > 50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de > > > > _______________________________________________ > Tkinter-discuss mailing list > Tkinter-discuss@python.org > http://mail.python.org/mailman/listinfo/tkinter-discuss
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss