I follow the instructions on gem5 website and try to compile using command 
`scons build/X86/gem5.opt -j 4`.
However, it shows such error: "Error: Can't find a working Python installation”.

My environment is M2 MacBook Air, gem5 v22.1.0.0.
I’m sure that I have already installed Python 3.11.4 on my machine.
When I type `which python` in my zsh, it shows 
`/opt/homebrew/opt/[email protected]/libexec/bin/python`.
When I type `which python-config`, it shows 
`/opt/homebrew/opt/[email protected]/libexec/bin/python-config`.

I have searched the web and tried to add `PYTHON_CONFIG=<PATH-TO-PYCONFIG>`, 
but it doesn’t work.
I have no idea why `scons` can’t find my Python.
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to