Use a locally built Tk for Python?
- From: Mark Summerfield <list@xxxxxxxxxxxxxx>
- Date: Fri, 1 Jun 2012 09:34:41 -0700 (PDT)
I have multiple Pythons locally installed so that I can test against
different versions. (On a 64-bit Debian stable system.)
All of them use the system's Tcl/Tk installation. However, I want to
make some of them use a locally build Tcl/Tk that has a small
There doesn't seem to be any --with-tk or --with-tcl options for
configure that would allow me to say where my local Tcl/Tk is.
So I ran ./configure --prefix=/home/mark/opt/py32tkmod
And then I tried editing Modules/Setup: I just uncommented and edited
the _tkinter line as follows:
_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT \
-ltk8.5 -ltcl8.5 \
But when I run ~/opt/py32tkmod/bin/python3 tkinter-test.pyw the system
tk is being used not my customized one.
Can anyone advise?
- Prev by Date: CPython 2.7: Weakset data changing size during internal iteration
- Next by Date: Re: CPython 2.7: Weakset data changing size during internal iteration
- Previous by thread: CPython 2.7: Weakset data changing size during internal iteration
- Next by thread: Re: Use a locally built Tk for Python?