[Tkinter-discuss] is it possible to use a local tcl/tk with a local python?

Mark Summerfield list at qtrac.plus.com
Mon Jun 18 08:46:33 CEST 2012


Hi,

Right now I have several local pythons so that I can test against
multiple versions, e.g.,

~/opt/python31
~/opt/python32
~/opt/python33

But all of these use the system-wide Tcl/Tck (8.5.11) in /usr/lib.

What I'd really like to do is have:

~/opt/python31tk85
~/opt/python32tk85
~/opt/python33tk85

~/opt/python31tk86
~/opt/python32tk86
~/opt/python33tk86

where these are built with one of these:

~/opt/tcltk85
~/opt/tcltk86

But I can't figure out how to tell Python's configure to use a local
Tcl/Tk.

Can anyone advise me?

Thanks!

-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Advanced Qt Programming" - ISBN 0321635906
            http://www.qtrac.eu/aqpbook.html


More information about the Tkinter-discuss mailing list