[Chicago] Tcl/Tk location

Brian Curtin brian at python.org
Wed Sep 4 23:53:51 CEST 2013

On Wed, Sep 4, 2013 at 4:15 PM, Chad Homan <choman at gmail.com> wrote:
> I find myself  in a strange situation
> With great misfortune, I am running on Sol10 update11.  This system is
> natively
> using python 2.6.4 and tcl/tk 8.3.  I am trying to write a ttk widget, which
> is exploding
> because it cannot find a package "tile", which to my understanding is in
> tcl/tk 8.5.
> I pulled 8.5 from sunfreeware.com  need to tell python to use a different
> Tcl/Tk version
> to gain access to "tile".  All packages installed fine to  /usr/local, which
> is great because
> it is not "stomping" on the native binaries.
> My question is hoe do I tell python/Tkinter to use the new locations?

I'm not aware of this being something you can do at runtime. You would
probably have to rebuild Python from source and point it to your
tcl/tk build via LD_LIBRARY_PATH.

More information about the Chicago mailing list