Eric Brunel see.signature at no.spam
Tue Sep 4 11:31:06 CEST 2007

On Tue, 04 Sep 2007 07:12:00 +0200, vijayca <vijayeee at> wrote:

> i tried to use python gui module Tkinter in solaris,aix,hpux.....
> while importing the module it  shows an error...
> import Tkinter
> error says that your python may not be configured for Tk()...
> how to get out of this...

Did you compile the Python interpreter yourself, or did it come in a sort  
of package?

In the first case, you have to install tcl/tk yourself if it's not already  
there, then tweak the build options for Python to make it use the tcl/tk  
installation you've done. How to tweak these options depends on the Python  
version you use, so please tell us what it is.

In the second case, Tkinter may be provided as a separate package, that  
you also need to install.

And BTW, Wildemar's comment still holds: please copy/paste the exact  
traceback you get if it doesn't work. I'm only guessing here...

python -c "print ''.join([chr(154 - ord(c)) for c in  

More information about the Python-list mailing list