I am trying to work with Pomegranate package in python 3.7, Win 10 environment.
I had trouble with installing pygraphviz package (It was a nightmare). I finally ended up installing the package following this post. Now, when I tried working with pomegranate it throws the error " must have pygraphviz installed for visualization." I confirmed that pygraphviz is installed on my system by running this file.
Why pomegranate is not able to locate my pygraphviz package?

got same problem, I have installed pygraphviz and pillow with conda in order to solve it.
PS. I have restarted the kernel (with dialog) in jupyter to make it work