I just compiled exiv2 and gexiv2 for my debian machiene and now I want to start working with gexiv2 to edit IPTC data using python. The gexiv2 website presents the following line of code:
from gi.repository import GExiv2
But that already results in:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named gi.repository
I can't even import gi so I think I'm missing another package!? What do I have to do to make this work as expected?
UPDATE: I upgraded my OS to the newest debian version. I can import gi now, but I'm still having trouble with GExiv2.
The following error occurs when importing GExiv2:
>>>from gi.repository import GExiv2
ERROR:root:Could not find any typelib for GExiv2
gir1.2-gexiv2
package from Ubuntu (I'm using Debian sid). – Recollected