473,493 Members | 4,355 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Trouble with idle from python 2.4.2 on SUSE linux 9.3

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

Dec 4 '05 #1
2 1253
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
Dec 4 '05 #2
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

Dec 4 '05 #3

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

Similar topics

16
12896
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...
5
2337
by: michael | last post by:
Hi. I am reasonably experienced with Python (and love it!) on Windows. I am a programmer that toils in c++ on Win 32 mostly but just to learn more, I am playing with Suse 9. Linux. Of course...
3
1505
by: Steve | last post by:
Hello, Hopefully this is not to of topic. I just installed SuSe 10.0 and although python installed but no Idle. I can't seem to find it in the list of available packages either. I was wondering...
12
3299
by: Claudio Grondi | last post by:
I have just discovered the existance of Puppy Linux which is a complete operating system with a suite of GUI apps, only about 50 - 60M booting directly off the CDROM ( http://www.puppylinux.org...
2
3066
by: Satya Kiran | last post by:
Hello, I have upgraded to Python2.4 on my Red Hat 9.0 Linux box. I want to work with IDLE and ran a search to check it's presence. Here is what I get. # find / -iname idlelib...
1
1617
by: Paul Rubin | last post by:
In Windows if you click the Help dropdown, IDLE launches a help window as it should. The help contents are included in the installation. In Linux, clicking Help launches a web browser, which is...
3
3011
by: Mathias Waack | last post by:
After switching my development environment to 64 bit I've got a problem with a python extension for a 32 bit application. Compiling the app under Linux results in the following error: g++ -m32...
5
2774
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...
0
996
by: Matthias Sommer | last post by:
I have a strange problem using the python-Idle: I'm used to be able to position the cursor by clicking on the desired position. When I run Idle under Mandriva (or under Arch Linux as well) this...
0
7118
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
7192
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
6862
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
7364
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4579
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
3087
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
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
282
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.