Installing pygrahviz in google colab

Viewed 3361
2 Answers

Though the answer by @korakot solved the issue, but it does not address the issue of installing pygraphviz library in Google Colab.

If you have to do install pygraphviz in Google Colab then the following worked for me.

# graphviz is installed already, but need lib too
!apt install libgraphviz-dev
!pip install pygraphviz

I found this solution here: https://gist.github.com/korakot/a80c04a1945b06e2f4a053f92fecfbf9

Related