Trouble with idle from python 2.4.2 on SUSE linux 9.3

Discussion in 'Python' started by Alasdair, Dec 4, 2005.

  1. Alasdair

    Alasdair Guest

    I've just installed python 2.4.2 from source - it works fine from the
    command line. But when I attempt to start idle, I am told:

    ** IDLE can't import Tkinter. Your Python may not be configured for
    Tk. **

    I have tcl 8.4 and tk 8.4 on my system; can anybody provide me with
    some advice?

    Sorry if this is a FAQ; I've spent some time searching the net for
    helpful clues, and I am a python ultra-newbie.

    Thanks,
    Alasdair
     
    Alasdair, Dec 4, 2005
    #1
    1. Advertising

  2. Alasdair

    Peter Otten Guest

    Alasdair wrote:

    > I've just installed python 2.4.2 from source - it works fine from the
    > command line. But when I attempt to start idle, I am told:
    >
    > ** IDLE can't import Tkinter. Your Python may not be configured for
    > Tk. **
    >
    > I have tcl 8.4 and tk 8.4 on my system; can anybody provide me with
    > some advice?


    I think you need to install the tcl-devel and tk-devel packages, too.

    Peter
     
    Peter Otten, Dec 4, 2005
    #2
    1. Advertising

  3. Alasdair

    Alasdair Guest

    Thanks - that did the trick! I wonder why it's not mentioned in the
    README, or (so far as I can tell) anywhere else?

    -Alasdair
     
    Alasdair, Dec 4, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Eisenmann

    Python 2.3.3 SuSE Linux RPMs available

    Simon Eisenmann, Apr 5, 2004, in forum: Python
    Replies:
    0
    Views:
    344
    Simon Eisenmann
    Apr 5, 2004
  2. michael
    Replies:
    5
    Views:
    581
    Hamilcar Barca
    Aug 10, 2004
  3. Erik Johnson
    Replies:
    8
    Views:
    715
    Peter Otten
    Feb 3, 2005
  4. Steve

    SuSe 10.0 missing Idle

    Steve, Nov 11, 2005, in forum: Python
    Replies:
    3
    Views:
    415
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Nov 11, 2005
  5. Fredrik Lundh

    Re: Need Python for Linux (Suse 10.1)

    Fredrik Lundh, Aug 31, 2006, in forum: Python
    Replies:
    0
    Views:
    354
    Fredrik Lundh
    Aug 31, 2006
Loading...

Share This Page