Código
import Tkinter apl = Tkinter.Tk() texto = Label(apl, text="Hola Mundo!") texto.pack() apl.mainloop()
Este es el error
No protocol specified
No protocol specified
Traceback (most recent call last):
File "grafico.py", line 3, in <module>
apl = Tkinter.Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in __init__
self.tk = __tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"