LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Where is gi.repository (https://www.linuxquestions.org/questions/ubuntu-63/where-is-gi-repository-4175501421/)

CollieJim 04-12-2014 02:13 AM

Where is gi.repository
 
Hi,

I have just installed gnome15.
I'm trying to get a Logitech G510s Gaming keyboard working. When I try to configure a Macro key nothing appears to happen.

The program run is ibus-setup. When I run it from the CLI I get:
Code:

$ ibus-setup
ERROR:root:Could not find any typelib for Gtk
Traceback (most recent call last):
  File "/usr/share/ibus/setup/main.py", line 29, in <module>
    from gi.repository import Gtk
ImportError: cannot import name Gtk

There is no file called gi.repository. There are several .../gi/repository but they appear to be just skeletons.

Where can I find gi.repository that has Gtk?

Thanks
Jim

luvr 04-12-2014 09:10 AM

Perhaps this will help: 12.04 - Why can python3 not import gi.repository?

CollieJim 04-12-2014 09:34 PM

Thanks, but apt-get says I have the latest version of both python-gi and python3-gi installed and I still get the error message.


All times are GMT -5. The time now is 08:32 PM.