I am new to python. I was trying to execute a simple py file to draw up simple gui application. However I got following exception.
_tkinter.TclError: no display name and no $DISPLAY environment variable
I was accessing remote workstation (redhat OS with python 2.6.6 installed) via VMWare vSphere Client. Is there any configuration option I could have set to successfully launch the application?
Contents of py file:
#!/usr/bin/python
import Tkinter
top = Tkinter.Tk()
top.mainloop()