Hi all,
I used default SConstruct file to build gem5 before. It works well. But when I 
try to modify it(e.g. change "-std=c++17" to "-std=c++20"), a confusing error 
happened. It told me that "Error: Can't find a working Python installation".  
The command I used and the out put as follows:
$ > /usr/bin/env python3 `which scons` build/RISCV/gem.opt
scons: Entering directory `/home/pzy/Documents/gem5/gem5'
scons: Reading SConscript files ...
Checking for linker -Wl,--as-needed support... no
Checking for compiler -Wno-free-nonheap-object support... (cached) yes
Checking for compiler -gz support... (cached) yes
Checking for linker -gz support... no
Warning: Can't enable executable debug section compression
Info: Using Python config: /usr/bin/python3-config
Checking for C header file Python.h... (cached) yes
Checking Python version... no
Error: Can't find a working Python installation

Thank you in advance for your help!

Thanks + regards,
Ziyang
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to