Re: [gtk-osx-users] "Python installation not usable" error in Big Sur





On Jan 12, 2021, at 6:54 PM, Lee Marrett via gtk-osx-users-list <gtk-osx-users-list gnome org> wrote:

Hello,

Trying to run jhbuild build meta-gtk-osx-bootstrap meta-gtk-osx-gtk3 but getting an error during build:

../../../../gtk/source/gobject-introspection-1.64.1/giscanner/meson.build:111:2: ERROR: Problem 
encountered: Python installation not useable

Logs say:

Compiler for C supports arguments -Wno-unused-parameter: YES (cached) "python-3.8" could not be found in 
LIBPC 
(/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/pkgconfig),
 this is likely due to a relocated python installation Pkg-config binary for MachineChoice.HOST is cached. 
Determining dependency 'python-3.8' with pkg-config executable '/Users/username/gtk/inst/bin/pkg-config' 
PKG_CONFIG_PATH: 
/Users/username/gtk/inst/lib/pkgconfig:/Users/username/gtk/inst/share/pkgconfig:/usr/lib/pkgconfig Called 
/Users/username/gtk/inst/bin/pkg-config --modversion python-3.8` -> 1

Found "python-3.8" via fallback pkgconfig lookup in PKG_CONFIG_LIBDIR/PKG_CONFIG_PATH Dependency python 
found: NO

../../../../gtk/source/gobject-introspection-1.64.1/giscanner/meson.build:111:2: ERROR: Problem 
encountered: Python installation not useable `


Any ideas how I might get it to look at the right place for python, which is definitely installed?

I haven't tried building with the Apple-installed Python3 and I'm not able to blow up my build environment to 
test it just now. The simplest work-around is to add python3 to your list of modules.

Regards,
John Ralls



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