running tkinter

J

Jim Anderson

I have just installed Fedora Core 3 on my pc. Python runs
fine, but when I try to run tkinter the tkinter library is
not found. I tried installing python 2.4.1 and could not get
tkinter to run there either.

When I look through the build directories for 2.4.1, I find
a lib-tk, but I do not find anything for tcl. In past releases,
my recollection is that tcl/tk were part of the release and
that if TCL_LIBRARY and TK_LIBRARY environment variables were
set right, then tkinter would work.

Are tcl/tk still supposed to be an intergrated part of the
python release?

Do I have to download, configure, make, install tcl and tk
packages to get tkinter running?

Thanks for any suggestions in advance.

Jim Anderson
 
J

James Stroud

Are tcl/tk still supposed to be an intergrated part of the
python release?

Do I have to download, configure, make, install tcl and tk
packages to get tkinter running?

I had to do this. Don't forget blt.

--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
 
F

flamesrock

I'm having the same problem (latest gentoo 2005.0) and I've installed
the tcl and tk languages.
 
M

Martin Franklin

Jim said:
I have just installed Fedora Core 3 on my pc. Python runs
fine, but when I try to run tkinter the tkinter library is
not found. I tried installing python 2.4.1 and could not get
tkinter to run there either.

When I look through the build directories for 2.4.1, I find
a lib-tk, but I do not find anything for tcl. In past releases,
my recollection is that tcl/tk were part of the release and
that if TCL_LIBRARY and TK_LIBRARY environment variables were
set right, then tkinter would work.

Are tcl/tk still supposed to be an intergrated part of the
python release?

Do I have to download, configure, make, install tcl and tk
packages to get tkinter running?

Thanks for any suggestions in advance.

Jim Anderson


On fedora tkinter is a separate package.

just do this (as root) and all will be well:-

yum install tkinter


Cheers,
Martin.
 

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

Forum statistics

Threads
474,240
Messages
2,571,211
Members
47,846
Latest member
gerbizor

Latest Threads

Top