469,645 Members | 1,133 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

running tkinter


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
Jul 19 '05 #1
3 1254
On Tuesday 31 May 2005 01:44 pm, Jim Anderson wrote:
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/
Jul 19 '05 #2
I'm having the same problem (latest gentoo 2005.0) and I've installed
the tcl and tk languages.

Jul 19 '05 #3
Jim Anderson wrote:
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.

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Russell E. Owen | last post: by
1 post views Thread by syed_saqib_ali | last post: by
reply views Thread by syed_saqib_ali | last post: by
6 posts views Thread by Charles Krug | last post: by
3 posts views Thread by dwelch91 | last post: by
8 posts views Thread by karthikbalaguru | last post: by
3 posts views Thread by joshdw4 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.