I would debug it like this:

Near the beginning of dot_writer.py, there is:

try:
    import pydot
except:
    pydot = False

Replace the "pydot = False" with "import pdb; pdb.set_trace()".
This will drop you into a debug shell where you can investigate why
"import pydot" failed.

On 6/26/23 14:30, Aaron Vose via gem5-users wrote:
All my runs (and many, many examples I see online) have the following warning message:

“warn: No dot file generated. Please install pydot to generate the dot file and pdf.”

However, I know I have pydot installed; see the following:

prompt> pip install pydot

Requirement already satisfied: pydot in /home/avose/pyenv396/lib/python3.9/site-packages (1.4.2)

Requirement already satisfied: pyparsing>=2.1.4 in /home/avose/pyenv396/lib/python3.9/site-packages (from pydot) (3.1.0)

I even went back and rebuilt the entire Gem5 again from scratch after I made sure pydot was installed. I made sure I built Gem5 using the same environment (/home/avose/pyenv396) in which I installed pydot, and I still see this warning, and I don’t get any dot output.

Does anyone else have a similar problem or any advice on how to fix this?

Thanks much,

~Aaron Vose


_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to