Idle

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hrvoje Blazevic

    #1

    Idle

    How do I get Idle to work on Linux?

    I've tried to compile 2.4.2 on Fedora core 4, and Suse 9.3, but Idle is
    after make install either missing (Fedora), or reports **Idle can't
    import Tkinter... **

    Thanks

    -- Hrvoje
  • Philippe C. Martin

    #2
    Re: Idle

    Hi,

    I remember having that when the wrong version of TCL/TK was installed on my
    system.

    Regards,

    Philippe



    Hrvoje Blazevic wrote:
    [color=blue]
    > How do I get Idle to work on Linux?
    >
    > I've tried to compile 2.4.2 on Fedora core 4, and Suse 9.3, but Idle is
    > after make install either missing (Fedora), or reports **Idle can't
    > import Tkinter... **
    >
    > Thanks
    >
    > -- Hrvoje[/color]

    Comment

    • Hrvoje Blazevic

      #3
      Re: Idle

      Philippe C. Martin wrote:[color=blue]
      > Hi,
      >
      > I remember having that when the wrong version of TCL/TK was installed on my
      > system.
      >[/color]

      And what is the right version? I have versions that came with their
      respective distros (8.4.9 in case of Suse)

      -- Hrvoje

      Comment

      • petercable@gmail.com

        #4
        Re: Idle

        If you are compiling python and you want to build idle/tkinter, you
        need to have the development packages for tcl and tk. The python build
        scripts will only build tkinter should they find the libraries
        (libtk8.4.so and libtcl8.4.so) and the header files (tk.h and tcl.h).
        If you don't have the development packages installed, you most likely
        do not have the header files.

        If you install the development packages and recompile, test by
        importing _tkinter. If that is successful, idle should run just fine.

        Comment

        • Hrvoje Blazevic

          #5
          Re: Idle

          petercable@gmai l.com wrote:[color=blue]
          > If you are compiling python and you want to build idle/tkinter, you
          > need to have the development packages for tcl and tk. The python build
          > scripts will only build tkinter should they find the libraries
          > (libtk8.4.so and libtcl8.4.so) and the header files (tk.h and tcl.h).
          > If you don't have the development packages installed, you most likely
          > do not have the header files.
          >
          > If you install the development packages and recompile, test by
          > importing _tkinter. If that is successful, idle should run just fine.
          >[/color]

          Thanks.
          After installing new versions of Tcl/Tk, python compilation did work.
          What is surprising is that although Python is bundled with most (all?)
          Linux distros, Idle does not work on most???

          -- Hrvoje

          Comment

          Working...