Re: [gtk-osx-users] ImportError: No module named gi.





On Mar 29, 2019, at 2:20 PM, Pascal <p p14 orange fr> wrote:

Hello,

I have install GTK+ 3 and Python with:
$ jhbuild build python

Then PyObject with:
$ jhbuild build pygobject

But I've the error: "ImportError: No module named gi"

Where is it wrong?

pygobject needs gobject-introspection. Build meta-gtk-osx-core-gtk3 instead of just gtk+-3.0.
Also you need python3 rather than python nowadays.

Regards,
John Ralls




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