gobject introspection fails: "ModuleNotFoundError: No module named 'giscanner._giscanner'"
Trying to use jhbuild on a mac, following the instructions here (https://wiki.gnome.org/action/show/Projects/GTK/OSX/Building?action=show&redirect=Projects%2FGTK%2B%2FOSX%2FBuilding) and I get the following error from the gobject-introspection. Apparently this is a weird interaction between python and the gobject-introspection package, but both of those are controlled by jhbuild. Does anyone know what's going on?
Traceback (most recent call last):
File "/Users/mattrose/gtk/inst/bin/g-ir-scanner", line 103, in <module>
from giscanner.scannermain import scanner_main
File "/Users/mattrose/gtk/inst/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
from giscanner.ast import Include, Namespace
File "/Users/mattrose/gtk/inst/lib/gobject-introspection/giscanner/ast.py", line 29, in <module>
from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
File "/Users/mattrose/gtk/inst/lib/gobject-introspection/giscanner/sourcescanner.py", line 35, in <module>
from giscanner._giscanner import SourceScanner as CSourceScanner
ModuleNotFoundError: No module named 'giscanner._giscanner'
ninja: build stopped: subcommand failed.
*** Error during phase build of pango: ########## Error running ninja *** [8/8]
Edited by Andre Klapper