6 Nov
2009
6 Nov
'09
5:18 p.m.
Claudio Martella wrote:
I'm still having some troubles with the graphviz library in graph-tool. I installed the packages (python-pygraphviz, libgv-py etc) and made the link you suggested in some recent emails about this troubles, but python is still complaining about gvg. Funny thing is that networkx which also uses graphviz to draw graphs doesn't have the same problem.
Networkx has its own interface to graphviz, and does not use libgv. I'm assuming you are using ubuntu... There, the directories are slightly different than Debian. You have to do the following: ln -sf /usr/lib/pyshared/python2.6/libgv_python.so /usr/lib/pymodules/python2.6/_gv.so And it should work. This is really a bug in Debian/Ubuntu... Cheers, Tiago