473,581 Members | 3,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tkinter for my python program !!

Hi,

One of my python program needs tkinter to be installed to run
successfully.
I am using Redhat 9.0 and hence tried installing by copying the
tkinter-2.2.2-36.i386.rpm
alone from the CD 3 to my pc. But, it is not getting installed and is
failing by throwing
the below errors. Should i need to configure / install any specific
files for resolving this issue ?

[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a
60e
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386

Any ideas ?

Thx in advans,
Karthik Balaguru
Jul 22 '08 #1
8 3271
karthikbalaguru wrote:
Hi,

One of my python program needs tkinter to be installed to run
successfully.
I am using Redhat 9.0 and hence tried installing by copying the
tkinter-2.2.2-36.i386.rpm
alone from the CD 3 to my pc. But, it is not getting installed and is
failing by throwing
the below errors. Should i need to configure / install any specific
files for resolving this issue ?

[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a
60e
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386

Any ideas ?
Yes: you should consider reading error-messages. What does

error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386

look like for you?

Small hint: if you install something that depends on something else, you
need to .... the missing dependency first. Fill in the dots...

Diez
Jul 22 '08 #2
On Jul 22, 6:32 pm, "Diez B. Roggisch" <de...@nospam.w eb.dewrote:
karthikbalaguru wrote:
Hi,
One of my python program needs tkinter to be installed to run
successfully.
I am using Redhat 9.0 and hence tried installing by copying the
tkinter-2.2.2-36.i386.rpm
alone from the CD 3 to my pc. But, it is not getting installed and is
failing by throwing
the below errors. Should i need to configure / install any specific
files for resolving this issue ?
[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a
60e
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386
Any ideas ?

Yes: you should consider reading error-messages. What does

error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386

look like for you?

Small hint: if you install something that depends on something else, you
need to .... the missing dependency first. Fill in the dots...
I find that it needs python-2.2.2-26.i386 and hence i tried installing
python and i
land here :( :(

[root@localhost karthik]# rpm -ivh python-2.2.2-26.i386.rpm
warning: python-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY, key
ID db42a60e
error: Failed dependencies:
libdb-4.0.so is needed by python-2.2.2-26.i386
python < 2.4.3-18.fc6 conflicts with python-
devel-2.4.3-18.fc6.i386
[root@localhost karthik]#
I find that python 2.4.3-18.fc6 is being used by many of applications.
But, the program i am trying to run needs python-2.2.2-26.
So, how to resolve this issue ?

Thx in advans,
Karthik Balaguru
Jul 22 '08 #3
karthikbalaguru wrote:
On Jul 22, 6:32 pm, "Diez B. Roggisch" <de...@nospam.w eb.dewrote:
>karthikbalagur u wrote:
Hi,
One of my python program needs tkinter to be installed to run
successfully.
I am using Redhat 9.0 and hence tried installing by copying the
tkinter-2.2.2-36.i386.rpm
alone from the CD 3 to my pc. But, it is not getting installed and is
failing by throwing
the below errors. Should i need to configure / install any specific
files for resolving this issue ?
[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a
60e
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386
Any ideas ?

Yes: you should consider reading error-messages. What does

error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386

look like for you?

Small hint: if you install something that depends on something else, you
need to .... the missing dependency first. Fill in the dots...

I find that it needs python-2.2.2-26.i386 and hence i tried installing
python and i
land here :( :(

[root@localhost karthik]# rpm -ivh python-2.2.2-26.i386.rpm
warning: python-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY, key
ID db42a60e
error: Failed dependencies:
libdb-4.0.so is needed by python-2.2.2-26.i386
python < 2.4.3-18.fc6 conflicts with python-
devel-2.4.3-18.fc6.i386
[root@localhost karthik]#
I find that python 2.4.3-18.fc6 is being used by many of applications.
But, the program i am trying to run needs python-2.2.2-26.
So, how to resolve this issue ?
Are you *sure* it requires python2.2? If yes, why can't fedora install
several python versions together? Ubuntu for sure can. But Python2.2 is
*ancient* - you might need to compile it yourself.

Diez
Jul 22 '08 #4
On Jul 22, 7:11 pm, "Diez B. Roggisch" <de...@nospam.w eb.dewrote:
karthikbalaguru wrote:
On Jul 22, 6:32 pm, "Diez B. Roggisch" <de...@nospam.w eb.dewrote:
karthikbalaguru wrote:
Hi,
One of my python program needs tkinter to be installed to run
successfully.
I am using Redhat 9.0 and hence tried installing by copying the
tkinter-2.2.2-36.i386.rpm
alone from the CD 3 to my pc. But, it is not getting installed and is
failing by throwing
the below errors. Should i need to configure / install any specific
files for resolving this issue ?
[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a
60e
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386
Any ideas ?
Yes: you should consider reading error-messages. What does
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386
look like for you?
Small hint: if you install something that depends on something else, you
need to .... the missing dependency first. Fill in the dots...
I find that it needs python-2.2.2-26.i386 and hence i tried installing
python and i
land here :( :(
[root@localhost karthik]# rpm -ivh python-2.2.2-26.i386.rpm
warning: python-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY, key
ID db42a60e
error: Failed dependencies:
libdb-4.0.so is needed by python-2.2.2-26.i386
python < 2.4.3-18.fc6 conflicts with python-
devel-2.4.3-18.fc6.i386
[root@localhost karthik]#
I find that python 2.4.3-18.fc6 is being used by many of applications.
But, the program i am trying to run needs python-2.2.2-26.
So, how to resolve this issue ?

Are you *sure* it requires python2.2? If yes, why can't fedora install
several python versions together? Ubuntu for sure can. But Python2.2 is
*ancient* - you might need to compile it yourself.
I did the following to resolve the errors, many errors
got resolved, but finally the python program is breaking
with different error.

I got the below errors when i invoked the python program -

[root@localhost processor]# Analyzer
The python module Tkinter is not installed properly.
Tkinter is required for this program.
Redhat 9
You need tkinter-2.2.2-26. This can be found on the Redhat
install CD 3
$ rpm -i /mnt/cdrom/RedHat/RPMS/tkinter-2.2.2-26.i386.rpm
When i tried to install tkinter, i got the below errors -

[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature:
NOKEY,
key ID db42a60e
error: Failed dependencies:
libtcl8.3.so is needed by tkinter-2.2.2-26.i386
libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
libtk8.3.so is needed by tkinter-2.2.2-26.i386

To resolve the conflicts and bring up the python program.
I did the following -

I downloaded python-devel-2.2.2-26.i386.rpm &
python-2.2.2-26.i386.rpm.
[root@localhost karthik]# rpm -e --nodeps python-
devel-2.4.3-18.fc6.i386
[root@localhost karthik]# rpm -e --nodeps python-2.4.3-18.fc6
[root@localhost karthik]# rpm -ivh python-devel-2.2.2-26.i386.rpm
warning: python-devel-2.2.2-26.i386.rpm: Header V3 DSA signature:
NOKEY, key ID db42a60e
Preparing...
############### ############### ############# [100%]
1:python-devel
############### ############### ############# [100%]

[root@localhost karthik]# rpm -ivh python-2.2.2-26.i386.rpm
warning: python-2.2.2-26.i386.rpm: Header V3 DSA signature:
NOKEY, key ID db42a60e
error: Failed dependencies: libdb-4.0.so is needed by
python-2.2.2-26.i386

To resolve the above dependency error , i downloaded
db4-4.0.14-20.i386.rpm
But, i got the below errors while installing -

[root@localhost karthik]# rpm -ivh db4-4.0.14-20.i386.rpm
warning: db4-4.0.14-20.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a60e
Preparing...
############### ############### ############# [100%]
package db4-4.3.29-9.fc6 (which is newer than db4-4.0.14-20) is
already installed

To resolve the above error i did the following -

[root@localhost karthik]# rpm -e --nodeps db4-4.3.29-9.fc6.i386
[root@localhost karthik]# rpm -ivh db4-4.0.14-20.i386.rpm
warning: db4-4.0.14-20.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a60e
Preparing...
############### ############### ############# [100%]
1:db4
############### ############### ############# [100%]

Now, i did the python-2.2.2-26.i386 installation.

[root@localhost karthik]# rpm -ivh python-2.2.2-26.i386.rpm
warning: python-2.2.2-26.i386.rpm: Header V3 DSA signature:
NOKEY, key ID db42a60e
Preparing...
############### ############### ############# [100%]
1:python
############### ############### ############# [100%]

As you would have noticed i linux spitted warning messages
during installations of various packages.
But, i wonder why i get the warnings and will those warnings
affect the working of python based programs ?

Further, finally when i invoke the python program by
giving the necessary input file, i get the following
errors .
Does it have any relation with the python version installed ?

[root@localhost processor]# Analyzer processorcycle
/usr/local/SDK/bin/../core/bin/processorlib.py :8
8: Warning: 'yield' will become a reserved keyword in the future
Traceback (most recent call last):
File "/usr/local/SDK/bin/Analyzer", line 48, in ?
from debuglib import ProcessorInfo
File "/usr/local/SDK/bin/../core/bin/processorlib.py ", line 88
yield ProcessorObject Info(child, self.pt)
^
SyntaxError: invalid syntax

Any ideas ?

Thx in advans,
Karthik Balaguru
Jul 23 '08 #5
>
Further, finally when i invoke the python program by
giving the necessary input file, i get the following
errors .
Does it have any relation with the python version installed ?
yes
I am using Redhat 9.0
You may want to install a current Linux distro.

Jul 23 '08 #6
On Jul 23, 11:38*am, David <da...@abbottda vid.comwrote:
Further, finally when i invoke the python program by
giving the necessary input file, i get the following
errors .
Does it have any relation with the python version installed ?

yes
I am using Redhat 9.0

You may want to install a current Linux distro.
I don't think this is a Python question at all, and Red Hat does offer
technical support.
Jul 23 '08 #7
On Jul 23, 11:38 pm, David <da...@abbottda vid.comwrote:
Further, finally when i invoke the python program by
giving the necessary input file, i get the following
errors .
Does it have any relation with the python version installed ?

yes
I am using Redhat 9.0

You may want to install a current Linux distro.
I got the info from this usenet group. Thx for that info.

The problem got resolved after including 'from __future__ import
generators'
in the beginning of the file.

Karthik Balaguru
Jul 24 '08 #8
On Jul 22, 7:11*pm, "Diez B. Roggisch" <de...@nospam.w eb.dewrote:
karthikbalaguru wrote:
On Jul 22, 6:32 pm, "Diez B. Roggisch" <de...@nospam.w eb.dewrote:
karthikbalaguru wrote:
Hi,
One of my python program needs tkinter to be installed to run
successfully.
I am using Redhat 9.0 and hence tried installing by copying the
tkinter-2.2.2-36.i386.rpm
alone from the CD 3 to my pc. But, it is not getting installed and is
failing by throwing
the below errors. Should i need to configure / install any specific
files for resolving this issue ?
[root@localhost karthik]# rpm -ivh tkinter-2.2.2-26.i386.rpm
warning: tkinter-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY,
key ID db42a
60e
error: Failed dependencies:
* * * * libtcl8.3.so is needed by tkinter-2.2.2-26.i386
* * * * libtix8.1.8.3.s o is needed by tkinter-2.2.2-26.i386
* * * * libtk8.3.so is needed by tkinter-2.2.2-26.i386
Any ideas ?
Yes: you should consider reading error-messages. What does
error: Failed dependencies:
* * * * *libtcl8.3.so is needed by tkinter-2.2.2-26.i386
* * * * *libtix8.1.8.3. so is needed by tkinter-2.2.2-26.i386
* * * * *libtk8.3.so is needed by tkinter-2.2.2-26.i386
look like for you?
Small hint: if you install something that depends on something else, you
need to .... the missing dependency first. Fill in the dots...
I find that it needs python-2.2.2-26.i386 and hence i tried installing
python and i
land here :( :(
[root@localhost karthik]# rpm -ivh python-2.2.2-26.i386.rpm
warning: python-2.2.2-26.i386.rpm: Header V3 DSA signature: NOKEY, key
ID db42a60e
error: Failed dependencies:
* * * * libdb-4.0.so is needed by python-2.2.2-26.i386
* * * * python < 2.4.3-18.fc6 conflicts with python-
devel-2.4.3-18.fc6.i386
[root@localhost karthik]#
I find that python 2.4.3-18.fc6 is being used by many of applications.
But, the program i am trying to run needs python-2.2.2-26.
So, how to resolve this issue ?

Are you *sure* it requires python2.2? If yes, why can't fedora install
several python versions together? Ubuntu for sure can. But Python2.2 is
*ancient* - you might need to compile it yourself.
Another method of resolving the whole problem
related to rpm dependencies was using
the 'yum' utility in Fedora Cores(I use FC2)
and 'up2date' utility in RedHat.

Karthik
Sep 14 '08 #9

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

Similar topics

3
7014
by: srijit | last post by:
Hello, Any idea - why the following code crashes on my Win 98 machine with Python 2.3? Everytime I run this code, I have to reboot my machine. I also have Win32all-157 installed. from Tkinter import * class App:
2
2157
by: ServantOfTheSecretFire | last post by:
Hi there, I wrote my first Python program this weekend, Conway's Game of Life, and I used Tkinter for the graphics. I thought I had done something wrong when I saw the memory consumption, so I wrote the simplest Tk program I could, and yep, it takes about 40MB of memory! I'm using Red Hat Linux 9.0 and recent versions of the software....
2
3493
by: Rick Olson | last post by:
I'm trying to add a Tkinter interface to an existing C program with embedded python, but seem to have trouble importing Tkinter (or accessing it). I tried a simple program that would run the script "hello.py" This is hello.py: from Tkinter import * mainWindow=Tk() label=Label(mainWindow, text="Hello") label.grid(row=0,column=0)
2
3407
by: John Pote | last post by:
Running my programme in Python 2.3.4 I received the following msg in the consol :- (Pent III running W2K prof) """ Exception in Tkinter callback Traceback (most recent call last): File "c:\apps\python\234\lib\lib-tk\Tkinter.py", line 1345, in __call__ return self.func(*args) File "c:\apps\python\234\lib\lib-tk\Tkinter.py", line 459, in...
3
3105
by: Jo Schambach | last post by:
I am trying to write a GUI with tkinter that displays the stdout from a regular C/C++ program in a text widget. The idea i was trying to use was as follows: 1) use "popen" to execute the C/C++ program 2) then use "tkinter.createfilehandler" to create a callback that would be called when the C/C++ program creates output on stdout. ...
0
1534
by: wolfonenet | last post by:
Hi All, My setup is: WinXP Python 2.5.1 TKinter version: $Revision: 50704 $ Tcl: 8.4 Debugger: WinPdb
2
2047
by: Doran, Harold | last post by:
I am currently reading An Intro to Tkinter (1999) by F. Lundh. This doc was published in 1999 and I wonder if there is a more recent version. I've googled a bit and this version is the one I keep finding. I like how this document is organized and also how it provides the code with visuals of what should appear on the screen. If there are other...
3
3907
by: J-Burns | last post by:
Hello. Im a bit new to using Tkinter and im not a real pro in programming itself... :P. Need some help here. Problem 1: How do I make something appear on 2 separate windows using Tkinter? By this I mean that the format would be something like this: You have Page1 : This has 2-3 buttons on it. Clicking on each button opens up a new...
0
1792
by: Guilherme Polo | last post by:
On 10/29/08, Olrik Lenstra <o.lenstra@gmail.comwrote: It will be a combination of commands, not a single one. Initially I considered this as "probably without solution", since tcl acquired a yield command just in the 8.6a3 release, but then I looked at wx.SafeYield code and apparently it is possible to replicate it. Here is an initial...
0
7860
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7788
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8299
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7890
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6546
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5667
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5357
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3799
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1398
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.