paulovn / sparql-kernel

A Jupyter kernel to launch queries against SPARQL endpoints
BSD 3-Clause "New" or "Revised" License
98 stars 17 forks source link

Diagram output FileNotFoundError #49

Closed neobernad closed 3 years ago

neobernad commented 3 years ago

Hi,

I would like to have a graph view of the SPARQL DESCRIBE query, thus I have installed graphviz and pydot dependencies with pip3 in my system. However, when I run a DESCRIBE query with %display diagram I get the following error:

Error: Response processing error: Exception while drawing graph: FileNotFoundError(2, 'No such file or directory')

If instead I use the %display table parameter, I get back the results successfully.

Am I missing any dependency?

Thanks, José Antonio

neobernad commented 3 years ago

I could solve it by playing around with Graphviz independently. I forgot to install the system library: apt -y install graphviz.