Find the answer to your Linux question:
Results 1 to 9 of 9
I used the Windows form of Python's IDLE for a long time and loved it, and now that i have fedora, I only can get into the command line interactive. ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6

    [SOLVED] IDLE in Python 2.6.2 in Fedora 12

    I used the Windows form of Python's IDLE for a long time and loved it, and now that i have fedora, I only can get into the command line interactive. I have TKinter and a bunch of packages for it, so I don't think thats the problem, I just cant get into idle. Help?

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you need to install tk, yum install tk

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    Quote Originally Posted by coopstah13 View Post
    you need to install tk, yum install tk
    Already have it

    Code:
    Package 1:tk-8.5.7-3.fc12.x86_64 already installed and latest version
    Nothing to do

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    can you post exact error message?

  5. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    Actually, I get no error message, I just don't know how to open IDLE. But this is the error for the tk install

    Code:
    [root@Chris Chris]# yum install tk
    Loaded plugins: presto, refresh-packagekit
    Setting up Install Process
    Package 1:tk-8.5.7-3.fc12.x86_64 already installed and latest version
    Nothing to do

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    the command to open it is just idle

  7. #7
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    idle brings up a standard code error message

    Code:
    Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:47) 
    [GCC 4.4.2 20091222 (Red Hat 4.4.2-20)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> idle
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    NameError: name 'idle' is not defined

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    no, execute command in terminal, not under python prompt

  9. #9
    Just Joined!
    Join Date
    Mar 2010
    Posts
    6
    Well that sure makes a difference, can't believe I forgot to try that.
    thanks a ton, gedit has nothing on IDLE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...