bug in graph_draw?


I am using the latest graph-tool 2.2.11, and this happens to stop working:

Traceback (most recent call last):
  File "../python/mfptTest.py", line 40, in <module>
    graph_draw(G, layout="sfdp", output=graphName + ".pdf", eprops = {'arrowsize': 1.0, 'penwidth': Ecap })
  File "/Volumes/Data/sebi/.local/lib/python2.6/site-packages/graph_tool/draw/__init__.py", line 274, in graph_draw
    gvg = gv.graph("G")
NameError: global name 'gv' is not defined

Inspecting the respective file reveals that gv is indeed not defined...



In the module gv are the python bindings for GraphViz. This means they
are somehow not available in your system. Do you have GraphViz installed
with the python bindings enabled? Are they reachable from your python


Hmm, I have the Mac Version of Graphviz installed, but I am affraid there are no Python-bindings included. Will grab the sources and install it from scratch...

Thanks, that error was not obvious to me...