#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    52
    Rep Power
    13

    IDLE will not run


    When I attempt to run IDLE (on Win32), I get the standard hourglass but then it just quits on me. I have tried repairing and uninstalling but it does not fix the problem. Anyone have any idea how to solve this?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2004
    Location
    London, England
    Posts
    1,585
    Rep Power
    1373
    Some questions:

    1) what version of Python are you running?

    2) have you tried running it from the command line? It is probably throwing an exception that you won't be able to see when you double click on it.

    3) can you run other Tkinter programs OK?

    4) Have you installed anything that uses a different version of Tk? I had this problem after installing Ruby and had to re-install Python to get it to work.

    Dave - The Developers' Coach
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    52
    Rep Power
    13
    It is the latest version of Python, 2.3.4. I have not run any other Tkinter programs and the command line does work. I have installed Ruby as well and the SciTE editor (I believe that is written with Tkinter) does operate just fine.
  6. #4
  7. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    It was some time ago, but, the last time I installed Ruby it trashed the TCL/TK installation for my Python installation. This may be the problem you are having. (Was Ruby installed after Python?).

    When you say the command line works - are you able to create a Tkinter window in the interpreter:
    >>>from Tkinter import *
    >>>A = Tk()

    If this does not work I would recommend un-installing Ruby and re-installing python.

    grim
  8. #5
  9. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    SciTE is based on th Scintilla editor (you can find it bundled with wxPython) - it doesn't use Tkinter.
    Last edited by Grim Archon; June 19th, 2004 at 10:46 AM.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    52
    Rep Power
    13
    Grim -- I think that is in fact the problem. when I call the Tk class it gives me a bunch of errors that have paths to the Ruby installation (which was installed after Python). Thanks!
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Posts
    52
    Rep Power
    13
    Yup, problem solved. Thanks a lot Grim.

IMN logo majestic logo threadwatch logo seochat tools logo