Python 2.5 Tkinter not configured

Diez B. Roggisch deets at nospam.web.de
Tue Jan 30 09:10:57 CET 2007


Jim schrieb:
> 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



More information about the Python-list mailing list