Python 2.5 Tkinter not configured

Jim jim at none
Wed Jan 31 15:41:27 EST 2007


Diez B. Roggisch wrote:

> 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

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

Jim



More information about the Python-list mailing list