Re: Import error about gi.repository




On Dec 29, 2013 6:56 PM, "daedae11" <daedae11 126 com> wrote:
>
> HI,
> I clone meld from https://git.gnome.org/browse/meld.
> Then execute:
> python setup.py build
> python setup.py install
> meld
>
> There is an error after the execution of meld. The details is :
> Traceback (most recent call last):
>   File "/usr/bin/meld", line 67, in <module>
>     import meld.settings
>   File "/usr/local/lib/python2.7/site-packages/meld/settings.py", line 19, in <module>
>     from gi.repository import Gio
> ImportError: No module named gi.repository

You need pygobject 3 (and associated stuff) installed.

Cheers,
Kai



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]