[gem5-users] Re: Help: "Error: Can't find a working Python installation"

2023-06-20 Thread via gem5-users
Hi! Thanks for your detailed reply and advice! I’ve tried to switch to 
`develop` branch and successfully compile it. Thanks a lot!

Best regards,
Siris Li.

> 2023年6月21日 04:26,Richard Cooper via gem5-users  写道:
> 
> Hello,

> Until then, you could either:
>  
> 1) Use the `develop` branch of gem5 
>  
>  
> I hope one of these options fixes your problem!
>  
> Best regards,
>  
> Richard.
>  

___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Help: "Error: Can't find a working Python installation"

2023-06-20 Thread via gem5-users
Hello, I’ve looked through the web you provided and tried python 3.8.17, python 
3.9.17, python 3.10.12. None of them solved my problem, the terminal still 
outputs "Error: Can't find a working Python installation”.

> Hi,
> With the current latest version of gem5, you must use python <= 3.10. Python 
> 3.11 will be supported in the next release of gem5 coming very soon.
> 
> For details: https://gem5.atlassian.net/browse/GEM5-1295
> 
> Regards,
> 
> Gabriel
> 
> ___
> 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


[gem5-users] Help: "Error: Can't find a working Python installation"

2023-06-20 Thread via gem5-users
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/python@3.11/libexec/bin/python`.
When I type `which python-config`, it shows 
`/opt/homebrew/opt/python@3.11/libexec/bin/python-config`.

I have searched the web and tried to add `PYTHON_CONFIG=`, 
but it doesn’t work.
I have no idea why `scons` can’t find my Python.___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org