I'm trying to use pygraphviz under Ubuntu 10.04 within my Django projects.
I used synaptic and it was installed without any problem.
I also installed django-extensions with synaptic (django-extensions has a tool that uses pygraphviz and this is the one that I need)
Now when I try to use django-extensions with pygraphviz
$ python manage.py graph_models -a -g -o model.png
I'm getting an
Error: need pygraphviz python module ( apt-get install python-pygraphviz )
How can I fix this ?
I was facing the same problem on an Ubuntu 14.04 machine and I solved it installing the missing packages as follows:
sudo apt-get install graphviz-dev
sudo pip install pygraphviz
Just install python-pygraphviz
with synaptic the same way you did pygraphvis and django-extensions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With