[issue44253] tkinter searches for tk.tcl in wrong directory

Adam Stewart report at bugs.python.org
Fri May 28 13:43:08 EDT 2021


Adam Stewart <ajstewart426 at gmail.com> added the comment:

And... now it's not working again. Can you clarify exactly how tkinter finds tk/tcl? Does it rely on TCL_LIBRARY or TK_LIBRARY env vars? TCLLIBPATH? If I use all of these env vars, tkinter finds tcl/tk, but commands like:

$ python -m tkinter
$ python -c 'import tkinter; tkinter._test()'

open a window and immediately minimize it. If I try to maximize the window it immediately closes, so something is definitely wrong with my installation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44253>
_______________________________________


More information about the Python-bugs-list mailing list