> On Mar 31, 2021, at 12:27 PM, Pascal <p....@orange.fr> wrote:
>
> Hello,
>
> I've built pygobject with the following command:
> % jhbuild build pygobject3
>
> It installs python stuff only in $prefix/lib/python3.8.
>
> The GTK based program I'm porting to macOS uses Python 2.7 (I hope not for a
> very long time) and it issues the error:
> ImportError: No module named gi
>
> How to tell the installer to put also files in $prefix/lib/python2.7?
>
> Note: "jhbuild build pygobject" doesn't install gi stuff.
Pascal,
Assuming that you're building both python and python3 and that you've gotten
the names in $PREFIX/bin sorted, try passing -Dpython=python2 as an additional
mesonarg to pygobject3.
Regards,
John Ralls
_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list