Ich versuche, mit Python zu verwenden graphviz und ich erhalte die Fehlermeldung:mit Python graphviz Import: Kein Modul _gv namens
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.6/gv.py", line 7, in <module>
import _gv
ImportError: No module named _gv
Der Systemzustand:
dpkg -l|grep graphviz
ii graphviz 2.20.2-3ubuntu5 rich set of graph drawing tools
ii libgraphviz4 2.20.2-3ubuntu5 rich set of graph drawing tools
ii libgv-python 2.20.2-3ubuntu5 Python bindings for graphviz
ii python-pygraphviz 0.99-2ubuntu1 Python interface to the Graphviz graph layou
Ich habe Ubuntu 9.10 installiert und python2.6
Ich suchte im Internet und fand heraus, dass es wahrscheinlich symlink Problem ist, aber die Workaround, die sie vorgeschlagen haben, funktionierte nicht für mich.
Andere Leute auf diese Frage stolpern kann zuerst überprüfen 'apt-get install python-pygraphviz' bevor irgendetwas anderes. –