Installation of pygraphviz in MacOS 10.12 (Sierra)

First attempt to the installation failed because of missing graphviz:


Ok, so next obvious step was to install missing library using brew:


Everything looked find, however pip’ing still shown same problem with not installed library. I think the reason was in the warning show above:


Ok, so where we have eventually the lib?


So we’re almost there. Let’s convince pip to use include and lib folder mentioned above (by enforcing it by --install-option):


We’re done!

Installation of pygraphviz in MacOS 10.12 (Sierra)
Tagged on:     

3 thoughts on “Installation of pygraphviz in MacOS 10.12 (Sierra)

  • 2018-03-12 at 19:16

    This worked perfectly for me on python 3.5.2 on OSX 10.13.3.

    However, your code snippets were a little hard to read because all the styling html is rendered to the page inside the pre blocks!

    • 2018-03-15 at 19:02

      Indeed, this seems like a regression after installing a code presentation plugin.

      Thanks for pointing it out!


Leave a Reply

Your email address will not be published. Required fields are marked *