(base) harsh@isaac:~/gem5$ scons build/X86/gem5.opt -j 65
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