Python 11 should work fine as far as i know. Try removing your build directory and recompiling from scratch (`rm -rf build && scons build/ALL/gem5.opt`). gem5 can get confused if you've moved the build directory across different machines or changed stuff in the machines environment. This may not be the cause but it's the most common reason for this error.
-- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net > On Sep 28, 2023, at 1:51 PM, Ioannis Constantinou via gem5-users > <gem5-users@gem5.org> wrote: > > Hello, > I’m trying to build gem5 with GCC-12.3 and Python-3.11 and I get the "Error: > Can't find a working Python installation”. With Python-3.8 and GCC-11.3 it > works perfectly fine. > > In there a compatibility problem with Python-3.11? > > I also tried adding the absolute path after “scons build/X86/gem.opt -j9 > PYTHON_CONFIG=“…” but didn’t work. > > Thank you, > Ioannis Constantinou > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org