Skip to content

Instantly share code, notes, and snippets.

@wendyjap
Created July 15, 2016 07:00
Show Gist options
  • Save wendyjap/9dd2e42eb95f52e060a91f8679b1dfbd to your computer and use it in GitHub Desktop.
Save wendyjap/9dd2e42eb95f52e060a91f8679b1dfbd to your computer and use it in GitHub Desktop.
pip install pygraphviz on Ubuntu
pip install --install-option="--include-path=/usr/local/Cellar/graphviz/2.38.0/include/graphviz" --install-option="--library-path=/usr/local/Cellar/graphviz/2.38.0/lib/graphviz" pygraphviz
@wendyjap
Copy link
Author

This package is needed to run django graph_models from django-extensions.

Also, you have to install graphviz by:

$ sudo apt-get install graphviz

Then, if there's still error, make sure your locale variable is not blank. In my case, filling in LC_ALL fixes the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment