473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Tcl/Tk Support

Hi,

Im not a Python programer, but I need to use Python on some aplications CVS
related. Im trying to install ViewCVS who need Tkinter library. But It
doesnt Work. Im using RedHat 9 Default Installation, to test if Tcl/Tk
suport for Python is working I Type in the Python console import tkinter and
received the following output:

[root@Diego-Linux root]# python
Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import tkinter Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named tkinter


Im searching over the Python.org for a explanation of what I have to do but
with no sucess...

Thanks for help.

Diego.

________________________________________________
Message sent using UebiMiau 2.7.2
Jul 18 '05 #1
3 1897
In article <ma**************************************@python.o rg>,
Diego.andrade <di***********@smartech.com.br> wrote:

Im not a Python programer, but I need to use Python on some aplications CVS
related. Im trying to install ViewCVS who need Tkinter library. But It
doesnt Work. Im using RedHat 9 Default Installation, to test if Tcl/Tk
suport for Python is working I Type in the Python console import tkinter and
received the following output:

[root@Diego-Linux root]# python
Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import tkinterTraceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named tkinter


What happens when you type "import Tkinter" (note initial capital)
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

A: No.
Q: Is top-posting okay?
Jul 18 '05 #2
Yes... I typed import Tkinter too but the output was the same!

how I do to install support for Tkinter? Can I download the Tkinter.py file
and paste in the include directory of Python2.2?
"Aahz" <aa**@pythoncraft.com> escreveu na mensagem
news:bt**********@panix2.panix.com...
In article <ma**************************************@python.o rg>,
Diego.andrade <di***********@smartech.com.br> wrote:

Im not a Python programer, but I need to use Python on some aplications CVSrelated. Im trying to install ViewCVS who need Tkinter library. But It
doesnt Work. Im using RedHat 9 Default Installation, to test if Tcl/Tk
suport for Python is working I Type in the Python console import tkinter andreceived the following output:

[root@Diego-Linux root]# python
Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
> import tkinterTraceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named tkinter
>


What happens when you type "import Tkinter" (note initial capital)
--
Aahz (aa**@pythoncraft.com) <*>

http://www.pythoncraft.com/
A: No.
Q: Is top-posting okay?
--
http://mail.python.org/mailman/listinfo/python-list

Jul 18 '05 #3
In article <ma**************************************@python.o rg>,
Diego Ribeiro de Andrade <di***********@smartech.com.br> wrote:

Yes... I typed import Tkinter too but the output was the same!

how I do to install support for Tkinter? Can I download the Tkinter.py file
and paste in the include directory of Python2.2?


You'll probably have to install a package called something like
"tk8.3-dev" (that's what it's called in Debian), download the Python
source, and build Python. It's possible that the RPMs for Python already
have Tkinter built in, but you'll still need to install Tcl/Tk to make it
work.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

A: No.
Q: Is top-posting okay?
Jul 18 '05 #4

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

Similar topics

4
by: Aditya Ivaturi | last post by:
We have a CMS which is written is based on php & mysql. Recently we received a request to support multiple languages so that sites in that particular laguage can be created. I did some search on...
10
by: Bill Davidson | last post by:
Hi there, Please forgive me for posting this article on multiple groups. Being new in the newsgroups, I was not sure which group would have been appropriate for my question. Sorry. My...
5
by: shaun.mostashari | last post by:
Hello all, I am working on a trade study and one of the criterias is how easy it is to get DB2 technical support from IBM. I appreciate if you guys share your experience with me. Does DB2 have a...
5
by: NormaJean Sebastian via DBMonster.com | last post by:
Hi, I almost read all of the "DB2 vs Oracle" thread... The summary I got from that was all databases essentially do the same things, the decision of which one you use primarily depends on...
4
by: Juan T. Llibre | last post by:
ASP.NET 1.0 Support Home http://support.microsoft.com/ph/6350 ASP.NET 1.1 Support Home http://support.microsoft.com/ph/6351 ..Net Framework 1.1 Support Site...
7
by: Terry Olsen | last post by:
I paste the following code into each project to get XP theme support. 'Add this at the beginning of any program to enable Windows XP Visual Styles <System.STAThread()> Public Shared Sub Main() If...
1
by: =?Utf-8?B?QW5kZXJ3IE1pbGxlcg==?= | last post by:
Apologies for posting in this forum, I don't see a more appropriate group... I'm trying to understand the timeline for Window 2003 ending mainstream support. I have consulted the MS lifecycle...
1
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have a web server 32 bit and SQL server 2005 64bit . Does msdtc support SQL server 2005 64bit with web server 32 bit?
8
by: Bill McCormick | last post by:
<!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --> ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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,...

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.