Idle

  • Thread starter Hrvoje Blazevic
  • Start date
H

Hrvoje Blazevic

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
 
P

Philippe C. Martin

Hi,

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

Regards,

Philippe
 
H

Hrvoje Blazevic

Philippe said:
Hi,

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

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

-- Hrvoje
 
P

petercable

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.
 
H

Hrvoje Blazevic

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.

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
 

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

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,323
Members
48,008
Latest member
KieraMcGuf

Latest Threads

Top