Problems running Tkinter in Linux

David Redish (dredish+@cs.cmu.edu)
12 Apr 1995 11:23:51 GMT

I have been trying to build python (version 1.2) on my 486
running Linux (version 1.0-something). It compiled out of the
box beautifully and passed the autotest, but when I try to run
Tkinter (for example with the code below), it just hangs.
Python stops responding to keyboard input, no button is ever
created, the only way to stop it is to kill the process from
another window.

I changed Setup to include one of the tkinter lines (it doesn't
seem to matter which) and the TKINTER= line. I'm working
with TCL 7.3 and TK 3.6. I tried it with pdb as well, but
pdb also hangs.

Has anyone seen anything like this before?
Is there some compile change I need to make?
Is there an environment variable that needs to be set?
Is there a known bug that this can be worked-around?

Thanks
David Redish

--------------------------------
from Tkinter import *
fred = Button()