Hi,
I am trying to build gem5 on MacOS and get this error:
macbooks-MacBook-Pro-7:gem5 macbookpro$ python /usr/local/bin/scons
build/X86/gem5.opt -j 1 PYTHON_CONFIG=$(which python3-config)
scons: Reading SConscript files ...
Mkdir("/Users/macbookpro/Documents/Work/gem5/build/X86/gem5.build")
Checking for linker -Wl,--as-needed support... no
Checking for compiler -Wno-c99-designator support... no
Checking for compiler -Wno-defaulted-function-deleted support... yes
Checking for compiler -gz support... yes
Checking for linker -gz support... yes
Info: Using Python config: python3-config
Checking for C header file Python.h... yes
Checking Python version... no
Error: Can't find a working Python installation
I have installed all the required packages and am using Python 3.11*. Please can you help check what could be going on and why SCons is not finding the python installation?
Thanks,
Div