I just reinstalled tcl and tk then rebooted (just in case), opened Python in a terminal window and typed in import Tkinter... same result.
"Traceback. .. import _tkinter # If this fails your Python may not be configured for Tk... Reason: image not found"
Surely there must be some way to configure Python to use tcl/tk. When installing Python perhaps?...
User Profile
Collapse
-
I am running Mac osx 10.4 on a Pentium iMac.
I am currently using Python 2.5.
My preferred interface is IDLE, but I am currently using Eclipse.
RalphLeave a comment:
-
Python not configured for Tk
I am running Mac osx 10.4 on a Pentium iMac. I have downloaded, unpacked and installed Tcl 8.5a5, Tk 8.5a5, and then Python 2.5.
When I attempt to import Tkinter from a Python shell, I get the following:
>>> import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framewor k/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",...
No activity results to display
Show More
Leave a comment: