为什么在更换引擎时会出现错误?点引擎一切正常。
代码:
from graphviz import Graph
dot = Graph()
dot.engine = 'neato'
dot.node('a')
dot.node('b')
dot.edge('a', 'b')
print(dot.source)
dot.render('test-output/round-table.gv', view=True)
错误:
graphviz.backend.ExecutableNotFound: failed to execute
['neato', '-Tpdf', '-O', 'test-output/round-table.gv'],
make sure the Graphviz executables are on your systems' PATH