-- Dr. Bobby R. Bruce Room 3050, Kemper Hall, UC Davis Davis, CA, 95616 web: https://www.bobbybruce.net
> On Sep 29, 2023, at 5:19 AM, Bobby Bruce <bbr...@ucdavis.edu> wrote: > > What version of gem5 are you using? In the latest version, v23.0 (`git clone > https://github.com/gem5/gem5.git` <https://github.com/gem5/gem5.git%60> is > all you'd need to do), this bug has been fixed. > > Though if you need to use an older version of gem5 for a good reason then, > yes, just downgrade Python 11 to anything <11. This bug was hell to fix. > Python changed how regex was processed and it took forever to figure out and > even longer to come up with a solution. > > -- > Dr. Bobby R. Bruce > Room 3050, > Kemper Hall, UC Davis > Davis, > CA, 95616 > > web: https://www.bobbybruce.net > >> On Sep 29, 2023, at 5:14 AM, Ioannis Constantinou >> <constantinou.ioan...@ucy.ac.cy> wrote: >> >> Hello, >> >> I tried what you suggested too and it does not work. >> >> I actually found an issue in this link >> https://gem5.atlassian.net/browse/GEM5-1295 . So I suspect this is why >> python3.11 does not work. The version of gem5 I have is 2.0 . So I think >> it’s best to stick with python3.8 until I can switch to a newer version of >> gem5 >> >> Thank you for your help, >> Ioannis Constantinou >> >>> On 29 Sep 2023, at 2:34 PM, Bobby Bruce <bbr...@ucdavis.edu> wrote: >>> >>> 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