Closed dg-deus closed 6 months ago
Hi, on line 1762 pydot tries to call dot.exe and looking for it in PATH environment variable. You probably need to add a path for Graphviz to PATH. Mine, for example, contains "C:\Program Files\Graphviz\bin"
I found dot.ext file in the same path after installing Graphviz from its website, and now it works. Thank you.
Description
I installed python-statemachine, pydot, Graphviz seperately on PyCharm, and I copied and ran the code of
TrafficLightMachine
. I tried to generate a graphic image of it following the instruction inGetting started
. However, I keep having theFileNotFoundError: [WinError 2] "dot" not found in path.
What I Did
I ran the following code on PyCharm Python Console.
And got the following error.