I am experimenting with Tkinter and wanted to try it on the pi - but when I try the acid test - window=Tkinter.Tk() - I get the error:
_tkinter.TclError: no display name and no $DISPLAY environment variable
I saw another post on a similar issue on this board but it was well down the thread and wasn't resolved - so I hoped to push it back up the list a bit (!) and see if anyone can help me figure out what's going wrong.
I'm running Python 2.7 from the command line (sudo python). startx runs normally if I try to use the GUI.
any suggestions gratefully received!