diff --git a/tools/parsetrace.py b/tools/parsetrace.py index f57e7df2de..6cc6128cad 100755 --- a/tools/parsetrace.py +++ b/tools/parsetrace.py @@ -26,18 +26,18 @@ import re import subprocess from typing import Union -from pycstruct import pycstruct - try: import cxxfilt import parse from elftools.elf.elffile import ELFFile from elftools.elf.sections import SymbolTableSection + from pycstruct import pycstruct from pydantic import BaseModel except ModuleNotFoundError: print("Please execute the following command to install dependencies:") - print("pip install pyelftools cxxfilt pydantic parse") + print("pip install pyelftools cxxfilt pydantic parse pycstruct") + exit(1) class SymbolTables(object):