After migrating from debian to ubuntu, tkinter "hello world" doesn't work

Mandus mandus at gmail.com
Tue Nov 29 06:18:39 EST 2005


28 Nov 2005 11:02:57 -0800 skrev mortuno at gmail.com:
> Hi
>
> My tkinter apps worked fine in debian linux (woody and sarge)
> I moved to ubuntu 5.10
>
> I follow the 'hello world' test as seen in
> http://wiki.python.org/moin/TkInter
>
>
> import _tkinter # with underscore, and lowercase 't'
> import Tkinter # no underscore, uppercase 'T'
> Tkinter._test() # note underscore in _test()

works just fine on my ubunty 5.10. Make sure you have the python2.4-tk
package installed (sudo apt-get install python2.4-tk).


-- 
Mandus - the only mandus around.



More information about the Python-list mailing list