我试图使用以下文档安装gem5:https://www.gem5.org/documentation/learning_gem5 5/part1 1/building/
但在文档中,以下命令不起作用:
python3 'which scons' build/X86/gem5.opt -j9我得到的错误如下:
python3: can't open file 'which scons': [Errno 2] No such file or directory如果有人指导我安装gem5,并为我提供一些关于gem5的链接,那将是非常好的。
安装gem5后,我尝试使用下面的命令对其进行测试,得到了如下所示的错误:

请帮助我如何测试它,以便我可以确认安装是正确的。
发布于 2022-05-01 12:27:14
Gem5,Ubuntu20.04 https://www.gem5.org/documentation/general_医生/建筑
构建需求..。
sudo apt install build-essential scons swig protobuf-c-compiler golang-goprotobuf-dev libprotobuf-c-dev libprotobuf-dev libhdf5-dev libpng-dev ruby-dev libgoogle-perftools-dev valgrind python3-dev
git clone https://github.com/gem5/gem5.git
cd gem5/
scons build/X86/gem5.opt
## other typical build commands:
scons build/ARM/gem5.opt
scons build/ARM/gem5.fasthttps://www.gem5.org/getting_已开始/→示例测试
cd gem5/
build/X86/gem5.opt configs/learning_gem5/part1/simple.py回复
Starting simulation...
Hello world!https://askubuntu.com/questions/1405446
复制相似问题