[Pythonmac-SIG] Tkinter problems

Chris Fonnesbeck fonnesbeck at gmail.com
Mon May 2 18:49:15 CEST 2005


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?

Thanks,
C.


More information about the Pythonmac-SIG mailing list