Can't import Tkinter module.

S

slomo

I'm working on linux Fedora Core 3 with Python 2.3.
I can't "from Tkinter import *" .
And see only "No modlue named Tkiner" error.
Of course I have tk/tcl 8.4. They works perfectly.
Certainly, I don't have Tkinter module for Python.
What should I do for it as I'm not a root?
 
M

Martin Franklin

slomo said:
I'm working on linux Fedora Core 3 with Python 2.3.
I can't "from Tkinter import *" .
And see only "No modlue named Tkiner" error.
Of course I have tk/tcl 8.4. They works perfectly.
Certainly, I don't have Tkinter module for Python.
What should I do for it as I'm not a root?

as root you could do:

yum install tkinter


Without root, you will have to build python + tkinter
yourself from the source (available from www.python.org)


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

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,187
Latest member
RosaDemko

Latest Threads

Top