Way of using pymc.model_to_graphviz into a Databricks notebook

matte
New Contributor III

Hi everybody,

I created a simple bayesian model using the pymc library in Python. I would like to graphically represent my model using the pymc.model_to_graphviz(model=model) method.

However, it seems it does not work within a databrcks notebook, even after having installed the library "graphviz" in the cluster. In particular, the error that I get is the following:

ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH

Is there a way to overcome this problem?