Fueled/django-init

OSError("Error locating graphviz.")

Closed this issue · 3 comments

Installed the Fueled Django Cookiecutter app for 3 times. A lot of dependencies that are not mentioned at all. But now I'm almost through the whole installation and got the following error:

File "/Users/pauloostenrijk/webprojects/chat-whitelabel-web/venv/build/pygraphviz/setup.py", line 91, in <module>

raise OSError("Error locating graphviz.")

I don't know where we use it for, but it is giving me a lot of problems.

@plo-fueled this is related to http://django-extensions.readthedocs.org/en/latest/graph_models.html which is used to generate the database model diagram for the purpose of documentation. This is something i've been experiencing too, after recent update to my OSX. I'll look into it, proper way of installing graphviz or alternative for the OSX and update a/c.

For now you can just comment the function create_graph_model in your fabfile.

The fix for this is installing graphviz binary at system level. On mac, it is as simple as

brew install graphviz

Please feel free to reopen the issue if it doesn't solve the issue on your end.

Well I see you have already updated the readme in readme_update branch. But not sure why you didn't create a PR. I'll create a PR out of that and merge have it in the docs.