User Profile

Collapse

Profile Sidebar

Collapse
Ralph1
Ralph1
Last Activity: May 14 '07, 03:19 PM
Joined: Mar 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Ralph1
    replied to Python not configured for Tk
    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?...
    See more | Go to post

    Leave a comment:


  • Ralph1
    replied to What is your OS and Python Version
    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.

    Ralph
    See more | Go to post

    Leave a comment:


  • Ralph1
    started a topic Python not configured for Tk

    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",...
    See more | Go to post
No activity results to display
Show More
Working...