liuyang1520 / django-command-extensions

Automatically exported from code.google.com/p/django-command-extensions
MIT License
0 stars 0 forks source link

graphviz on Fedora Core 11 #111

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install graphviz-python and graphviz-devel on Fedora Core 11 (with yum) 
2. Run ./manage.py graph_models -a -g -o my_project_visualized.png

What is the expected output? What do you see instead?
Expected: project_visualized.png file
Real: Error: need pygraphviz python module ( apt-get install python-
pygraphviz )

What version of the product are you using? On what operating system?
Django Extensions 0.4.1
GNU/Linux Fedora Core 11 

Please provide any additional information below.
graphviz path: /usr/lib/graphviz/python

Original issue reported on code.google.com by pulpox@gmail.com on 13 Sep 2009 at 7:28

GoogleCodeExporter commented 8 years ago
Manually generation of the .png file is working running:

python manage.py graph_models foo bar > my_project.dot
dot -Tpng -o project_visualized.png my_project.dot

Original comment by pulpox@gmail.com on 27 Sep 2009 at 2:43

GoogleCodeExporter commented 8 years ago
It might be worth adding a warning that the fedora package "graphviz-python" is 
a
completely different python graphviz library to what you get with pygraphviz :(

They seem to have quite different APIs, so I guess we need to find a fedora 
packaged
version of pygraphviz somewhere

Original comment by gagrav...@gmail.com on 29 Oct 2009 at 3:07

GoogleCodeExporter commented 8 years ago
On fedora you'll probably have better luck doing "easy_install pygraphviz"

Original comment by mattxb...@gmail.com on 23 Mar 2010 at 5:44