Building Python with non-standard tcl/tk support

Steven D'Aprano steve+comp.lang.python at
Sat Mar 3 18:36:52 CET 2012

I'm trying to re-build Python 3.2 with support for TCL/TK 8.5, but when I 
run "make" I get this message:

Failed to build these modules:

and after installing 3.2 I still have this:

>>> import _tkinter
>>> _tkinter.TK_VERSION

What do I need to do to have Python 3.2 use tcl/tk 8.5?

I have installed tcl/tk 8.5.11 from source, and the binaries are here:


In the Python 3.2 source, I do the usual:

sudo make altinstall

(altinstall to avoid nuking the system Python)


More information about the Python-list mailing list