On 8/28/10 6:42 AM, Guido Carballo-Guerrero wrote:
Monte, do you have python 3.1 or 2.6.5. I had a mac as well, and when I
try to use ttk didn't work. They way I solve was to copy the ttk.py file
inside of the site-packages, which in my case is inside of:
Library/Frameworks/Python.framewors/Versions/2.7/lib/python2.7/site-packages
Than, what I will recommend is to install from the source, not the
installer disk image. If you install from the installer disk image, once
you try to use ttk, you will see that the Tk and Tcl connected to ttk
are version 8.4, which will not work.
If you need details instructions on how to install from the source let
me know.
I hope this helps. Regards!
Guido Carballo
Hello Guido,
I recently (yesterday) went through and cleaned out the 'other' stuff
I'd accumulated over a period of tinkering; currently I have the default
Python that ships with 10.6.x, and then a 'fresh' install of MacPython
2.6.5 from python.org via the disk image file I downloaded from there.
I'd debated about whether to use MacPython or Activestate Python, which
sounded like it supported the newer versions of tk better, but it also
sounded like in order for that to work I'd have to download and install
Activestate Tcl as well... maybe that's the simplest option...?
Are you saying that in order to use ttk with MacPython I need to compile
python from the source code?
Is there some particular reason why the folks @ python seem to resist
upgrading to tkinter 8.5 & tile/ttk? I thought it had been out for
*years* now (well before python 2.6, anyways)... why do I need to jump
thru all these dang hoops to use what seems like it should be the
current version of things? Sorry for the vent... I realize I'm very new
to this and probably lack perspective and all that, but I'd really like
to know.
Thanks,
Monte
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss