[winswitch] xpra (client) on Centos 5.7

Bob Tennent rdtennent at gmail.com
Mon Feb 27 13:45:45 GMT 2012


 >|>  >|>     import glib
 >|>  >|> ImportError: No module named glib
 >|>  >|>
 >|>  >|> AFAIK I've installed everything necessary:
 >|>  >|>
 >|>  >|> gcc-4.1.2-51.el5
 >|>  >|> python-devel-2.4.3-44.el5_7.1
 >|>  >|> libXtst-devel-1.0.1-3.1
 >|>  >|> libXdamage-devel-1.0.3-2.1
 >|>  >|> gtk2-devel-2.10.4-21.el5_7.7
 >|>  >|> pygtk2-devel-2.10.1-12.el5
 >|>  >|> pygobject2-devel-2.12.1-5.el5
 >|>  >|> Cython-0.14.1-3.el5
 >|>  >|> xorg-x11-server-Xvfb-1.1.1-48.76.el5_7.5
 >|>  >|> xorg-x11-xauth-1.0.1-2.1
 >|>  >|> xorg-x11-xkb-utils-1.0.2-2.1
 >|>
 >|>  >|Sorry about that, I forgot to add this new dependency to the RPM
 >|>  >|specfile: dbus-python.
 >|>
 >|> % rpm -q dbus-python
 >|> dbus-python-0.70-9.el5_4
 >|>
 >|> % rpm -ql dbus-python | grep glib.py
 >|> /usr/lib/python2.4/site-packages/dbus/glib.py
 >|> /usr/lib/python2.4/site-packages/dbus/glib.pyc
 >|> /usr/lib/python2.4/site-packages/dbus/glib.pyo
 >|>
 >|Sorry, my bad, what you need is pygobject2, which includes the python
 >|glib bindings and not just dbus-glib.

% rpm -q pygobject2 pygobject2-devel
pygobject2-2.12.1-5.el5
pygobject2-devel-2.12.1-5.el5

Bob T.



More information about the shifter-users mailing list