Re:Re: Import error about gi.repository



When I execute ./configure in pygobject3's folder, the output is:
checking for GLIB - version >= 2.35.9... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: maybe you want the pygobject-2-4 branch?


I think it means I should install glib first. However I have installed glib-2.38.2 before. What's the matter?

At 2013-12-29 17:13:04,"Kai Willadsen" <kai willadsen gmail com> wrote:


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]