More tkinter Madness

Christian Gollwitzer auriocus at gmx.de
Fri Nov 13 01:32:08 EST 2015


Am 13.11.15 um 06:42 schrieb Tim Daneliuk:
>
> Curioser and curioser.  Yes, xterm works fine.  Dunno about any other tk apps.

Hello world Tk is like this:

Apfelkiste:Sources chris$ wish
% pack [button .b -text Hello -command exit]
% Apfelkiste:Sources chris$

Upon starting wish, an empty window should appear. The single line makes 
a button, which exits the program when pressed.

It is very strange in your Traceback, that the TclError is not 
accompanyied by an actual error. This indicates that something more 
fundamental is going wrong. It seems to crash upon "import tkinter"; can 
you try reinstalling all related packages?

	Christian



More information about the Python-list mailing list