Hello everyone, I rewrote the code in the Arsmart paper in gem5 and then recompiled the X86 architecture in gem5 and this is my command line.
scons build/X86/gem5.opt -j16
the following bug appeared.
scons: Reading SConscript files ...
Mkdir("/home/zr/gem5Ar/build/X86/gem5.build")
Checking for linker -Wl,--as-needed support... no
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: python3-config
Checking for C header file Python.h... (cached) yes
Checking Python version... no
Error: Can't find a working Python installation
I would like to ask everyone, Why did this error occur. Thank you very much for your help.
Y阿Z阿
1765197550@qq.com
Hi,
Checking 'build/{arch}/gem5.build/scons_config.log' might help.
Yibo Zhang
-----Original Messages-----
From:"Y阿Z阿 via gem5-users" gem5-users@gem5.org
Send time:Sunday, 05/19/2024 16:35:23
To: gem5-users gem5-users@gem5.org
Cc: Y阿Z阿 1765197550@qq.com
Subject: [gem5-users] gem5 scons fault
Hello everyone, I rewrote the code in the Arsmart paper in gem5 and then recompiled the X86 architecture in gem5 and this is my command line.
scons build/X86/gem5.opt -j16
the following bug appeared.
scons: Reading SConscript files ...
Mkdir("/home/zr/gem5Ar/build/X86/gem5.build")
Checking for linker -Wl,--as-needed support... no
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: python3-config
Checking for C header file Python.h... (cached) yes
Checking Python version... no
Error: Can't find a working Python installation
I would like to ask everyone, Why did this error occur. Thank you very much for your help.
|
|
Y阿Z阿
1765197550@qq.com
|
Best wishes!
Hi,
Are you using virtual python(like anaconda) or system python environments?
If is virtual python, the main cause is SCons can not detect the python location.
Here is my local solution:
This solution may not be the best way, but I hope it can be helpful to you.
Thanks + regards,
Ziyang
From: Y阿Z阿 via gem5-users gem5-users@gem5.org
Sent: Sunday, May 19, 2024 4:35 PM
To: gem5-users gem5-users@gem5.org
Cc: Y阿Z阿 1765197550@qq.com
Subject: [gem5-users] gem5 scons fault
Hello everyone, I rewrote the code in the Arsmart paper in gem5 and then recompiled the X86 architecture in gem5 and this is my command line.
scons build/X86/gem5.opt -j16
the following bug appeared.
scons: Reading SConscript files ...
Mkdir("/home/zr/gem5Ar/build/X86/gem5.build")
Checking for linker -Wl,--as-needed support... no
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: python3-config
Checking for C header file Python.h... (cached) yes
Checking Python version... no
Error: Can't find a working Python installation
I would like to ask everyone, Why did this error occur. Thank you very much for your help.
[https://res.mail.qq.com/zh_CN/htmledition/images/rss/male.gif?rand=1617349242]
Y阿Z阿
1765197550@qq.commailto:1765197550@qq.com