Re: [gtk-osx-users] pygobject3 installation with Python 2.
- From: John Ralls <jralls ceridwen us>
- To: Pascal <p p14 orange fr>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] pygobject3 installation with Python 2.
- Date: Wed, 31 Mar 2021 20:18:30 -0700
On Mar 31, 2021, at 12:27 PM, Pascal <p p14 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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]