Kodi Community Forum
PyGTK on Linux - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: PyGTK on Linux (/showthread.php?tid=115496)



PyGTK on Linux - b3rn475 - 2011-11-26

Hi, I'm trying to setup an ubuntu 11.10 server with xbmc as a media center.
My objective is to build a plugin in python that use the PyGTK library.
I've installed the PyGTK library using the APT-GET utility.
But now if I use "import pygtk" into my script it does not load. Without it the script works.

I've tried to copy all the files from /usr/lib/python2.7 into the /usr/share/xbmc/system/python/

What I'm doing wrong?