Je suis en train d'utiliser graphviz avec python et je reçois l'erreur:En utilisant python graphviz ImportError: Aucun module nommé _gv
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
L'état du système:
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
Je Ubuntu 9.10 installé et python2.6
J'ai cherché sur Internet et j'ai découvert que c'est probablement un problème de lien symbolique, mais la solution de contournement qu'ils ont suggéré ne fonctionnait pas pour moi.
D'autres personnes trébuchant sur cette question peut d'abord vérifier 'apt-get install python-pygraphviz' avant toute autre chose. –