Hi guys,

I was working on building gem5 with miniconda python.  The building crashed 
with "Error: Can't find a working Python installation".  After searching 
online, I found that this is a common problem, but there is no accurate 
solution.

Here is my local solution:

  1.  Add this line in the SConstruct file. 
"main.Append(LIBPATH=['${MINICONDA_PATH}/python/miniconda37/lib']"
  2.  Add your libpython3.x.so path to LD_LIBRARY_PATH like: export 
LD_LIRARY_PATH= ${MINICONDA_PATH}/python/miniconda37/lib:$LD_LIBRARY_PATH

This solution may not be the best way, but I hope it can be helpful to you.

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