Python 2.5 Tkinter not configured

J

Jim

I compiled Python 2.5 from python.org and I get an error message when I try
to import the Tkinter module. Python reports that there is no such module.
It says my Python isn't configured for Tkinter. How do I configure it? I'm
using GCC 4.1.1 to compile the tarball. Thanks for any help with this.

Jim
 
D

Diez B. Roggisch

Jim said:
I compiled Python 2.5 from python.org and I get an error message when I try
to import the Tkinter module. Python reports that there is no such module.
It says my Python isn't configured for Tkinter. How do I configure it? I'm
using GCC 4.1.1 to compile the tarball. Thanks for any help with this.

You need to have tcl/tk together with it's development-headers
installed. Python _should_ figure out where things are, and then be
configured to include tkinter.

Diez
 
J

Jim

Diez said:
You need to have tcl/tk together with it's development-headers
installed. Python _should_ figure out where things are, and then be
configured to include tkinter.

Diez

That was the problem, I got it working after recompiling. Thanks.

Jim
 

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
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top