473,503 Members | 6,354 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Oct 4 '05 #1
4 2250
Hi,

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

Regards,

Philippe

Hrvoje Blazevic wrote:
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


Oct 4 '05 #2
Philippe C. Martin wrote:
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
Oct 4 '05 #3
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.

Oct 5 '05 #4
pe********@gmail.com wrote:
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
Oct 5 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
12897
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine...
1
5373
by: Moosebumps | last post by:
So say I am working on two separate .py files in IDLE that are part of the same program. Does anyone have problems where when you modify one file, and then run the other, the changes you made in...
1
6706
by: dbrown2 | last post by:
I typically use IDLE for editing and debug. On Windows at least, IDLE and the standard turtle graphics module do not mix. I think both use Tkinter. For now I use IPython and Jedit when using...
8
3759
by: Jonathan Polley | last post by:
I have one account on a WindowsXP machine that refuses to run IDLE (or any other python script that uses Tk). Other people can login to that PC and IDLE runs just fine, so it is not an...
7
1973
by: iwdu15 | last post by:
how can i tell if my system has gone idle? then how can i execute a command accordingly? thnks
0
1432
by: Stefan Felkel | last post by:
hi! i have searched a lot in these pgsql-groups and on the internet, but found no really helpful information for my problem. the famous error >> database "xyz" is being accessed by other...
2
5655
by: Jim Hendricks | last post by:
New to Python, and just had something strange happen. I've been running my new code in IDLE running in windows. My IDLE version shows as 1.2.1, Python version displaying in IDLE is 2.5.1. I...
5
2777
by: Russ P. | last post by:
I've been programming in python for a few years using XEmacs on Solaris and Linux. I've been thinking about trying IDLE for a long time, but either it wasn't available on my system or I...
3
2440
by: W. Watson | last post by:
After simply trying to write a program with help(MakeQTE), a module, and having it fail with socket errors, I decided to restart IDLE, thinking I knew the cause. I'm now getting msgs like: "IDLE's...
3
2881
by: Giraffe | last post by:
I have the followong class in a file: -------------------------------------------- class someClass: def __init__ (self): self.someVar = 10 def getSomeVar (self): return self.someVar...
0
7207
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7291
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4690
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
402
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.