[pygtk] warning

KB SU k247d0 at gmail.com
Thu Jun 17 15:33:36 WST 2010


I have Ubuntu: Ubuntu-Server 9.10 _Karmic Koala_ - Release i386
Python: 2.6 and gtk 2

But when I try to import gtk, it gives warning like:
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could
not open display
  warnings.warn(str(e), _gtk.Warning)

Is there any way to solve this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20100617/b25af49e/attachment.htm 

More information about the pygtk mailing list