Trouble with idle from python 2.4.2 on SUSE linux 9.3

A

Alasdair

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
 
P

Peter Otten

Alasdair said:
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
 
A

Alasdair

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top