我尝试在 ubuntu 上安装 gem5但是出现了以下错误有什么解决办法吗? Python 已正确安装在设备上

问题描述

(base) nikhil@nikhil-X556UQK:~/gem5$ scons build/X86/gem5.opt -j9
scons: Reading sconscript files ...
Checking for linker -Wl,--as-needed support... yes
Checking for pkg-config package protobuf... yes
Checking for compiler -gz support... yes
Checking for linker -gz support... yes
Info: Using Python config: python3-config
Checking for C header file Python.h... yes
Checking for C library python3.8... yes
Checking for C library crypt... yes
Checking for C library pthread... yes
Checking for C library dl... yes
Checking for C library util... yes
Checking for C library rt... yes
Checking for C library m... yes
Checking Python version... no
Error: Can't find a working Python installation

出现上述错误。我已经安装了 python dev 和所有其他依赖项。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)