Author Topic: Problem with Python and gi  (Read 163 times)

Offline Lord Spectre

  • Jr. Member
  • **
  • Posts: 17
    • Lord Spectre's Server
Problem with Python and gi
« on: November 26, 2012, 10:31:11 AM »
When I try to run some GTK programs I keep getting errors about Python not finding the module gi.
I don't have a list of programs that give this error, but I think it's not a bug with those because I cannot import it from the Python interpreter either.
Some Internet forums say it's related to gobject-introspection and python-gobject: they are both installed and I already tried reinstalling without success.
Am I missing some dependencies?
Thanks for help

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Problem with Python and gi
« Reply #1 on: November 26, 2012, 07:12:10 PM »
When I try to run some GTK programs I keep getting errors about Python not finding the module gi.
I don't have a list of programs that give this error, but I think it's not a bug with those because I cannot import it from the Python interpreter either.
Some Internet forums say it's related to gobject-introspection and python-gobject: they are both installed and I already tried reinstalling without success.
Am I missing some dependencies?
Thanks for help

If you're running an app try and install libgirepository1.0_1 ... if you are compiling, try libgirepository-devel.

Please post back your results.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Lord Spectre

  • Jr. Member
  • **
  • Posts: 17
    • Lord Spectre's Server
Re: Problem with Python and gi
« Reply #2 on: November 27, 2012, 06:23:39 AM »
Both are already installed. Are you sure they provide the Python bindings too? They seem to be only libraries and header files, not Python modules.