Hi, I am new to gem5 and am following:
http://www.gem5.org/documentation/learning_gem5/part1/simple_config/ When I run: $ build/X86/gem5.opt configs/learning_gem5/part1/caches.py I am told: Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: module 'm5' has no attribute 'main' How do I fix this, please. I built gem5 thus: scons build/X86/gem5.opt -j 1 I needed to fix the following as they used python2 syntax for print /usr/local/lib/python3.7/dist-packages/m5/server.py /usr/local/lib/python3.7/dist-packages/m5/compiler.py I am running on a Debian 10 machine (x86_64) Using Python 3.7.3 -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h> _______________________________________________ gem5-users mailing list -- [email protected] To unsubscribe send an email to [email protected] %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
