google-research / python-graphs

A static analysis library for computing graph representations of Python programs suitable for use with graph neural networks.
Apache License 2.0
325 stars 39 forks source link

How do we solve the error when installing python-graphs? #12

Closed fraolBatole closed 1 year ago

fraolBatole commented 1 year ago

Hello,

I encountered an error "fatal error: 'graphviz/cgraph.h' file not found" when trying to install python_graphs. How do I solve this issue, please? Thanks.

dbieber commented 1 year ago

Ah, you'll have to install graphviz to get past that error. On mac this is e.g. "brew install graphviz"

dbieber commented 1 year ago

On ubuntu it would be "apt-get install libgraphviz-dev"