Traceback (most recent call last):
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/backend/execute.py”, line 81, in run_check
proc = subprocess.run(cmd, **kwargs)
File “/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py”, line 503, in run
with Popen(*popenargs, **kwargs) as process:
File “/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py”, line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/nix/store/hd4cc9rh83j291r5539hkf6qd8lgiikb-python3-3.10.8/lib/python3.10/subprocess.py”, line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: PosixPath(‘dot’)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “main.py”, line 16, in
dot.view()
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/_tools.py”, line 171, in wrapper
return func(*args, **kwargs)
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/rendering.py”, line 185, in view
return self.render(filename=filename, directory=directory, view=True,
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/_tools.py”, line 171, in wrapper
return func(*args, **kwargs)
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/rendering.py”, line 122, in render
rendered = self._render(*args, **kwargs)
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/_tools.py”, line 171, in wrapper
return func(*args, **kwargs)
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/backend/rendering.py”, line 324, in render
execute.run_check(cmd,
File “/home/runner/AIscenarios/venv/lib/python3.10/site-packages/graphviz/backend/execute.py”, line 84, in run_check
raise ExecutableNotFound(cmd) from e
graphviz.backend.execute.ExecutableNotFound: failed to execute PosixPath(‘dot’), make sure the Graphviz executables are on your systems’ PATH