[Pythonmac-SIG] Tkinter problems
Bob Ippolito
bob at redivi.com
Mon May 2 18:51:18 CEST 2005
On May 2, 2005, at 12:49 PM, Chris Fonnesbeck wrote:
> I am attempting to get Tkinter working on a new Powerbook, but seem
> unable to do so (works fine on my old 'book). I have installed the
> Panther add-ons and TclTkAqua (Batteries included). However, nothing
> involving Tcltk seems to work. Idle dies:
>
> Traceback (most recent call last):
> File "/System/Library/Frameworks/Python.framework/Versions/2.3/
> bin/idle",
> line 3, in ?
> from idlelib.PyShell import main
> File "/System/Library/Frameworks/Python.framework/Versions/2.3/
> lib/python2.3/idlelib/PyShell.py",
> line 19, in ?
> from Tkinter import *
> File "/System/Library/Frameworks/Python.framework/Versions/2.3/
> lib/python2.3/lib-tk/Tkinter.py",
> line 38, in ?
> import _tkinter # If this fails your Python may not be
> configured for Tk
> ImportError: No module named _tkinter
>
> And the package manager comes up empty. Is there any way to fix this?
Get the _tkinter package from the "Mac OS X 10.3 (stock Python
2.3.0)" section at http://pythonmac.org/packages/
-bob
More information about the Pythonmac-SIG
mailing list