0

[SOLVED] Installing graphviz with homebrew and pip

I tried to install graphviz using pip, and the pycharm terminal says installation is successful. But when running the code an error was raised indicating that graphviz was not properly installed. So I tried installing it with homebrew and this time it worked. I simply wonder the difference between homebrew and pip in my case, and I also want to know why the first time the installation failed… Thanks guys!

22nd Aug 2021, 7:54 PM
Wenkai Qu
Wenkai Qu - avatar
2 Respuestas
+ 2
The python graphviz package is not the full graphviz software itself, just an interface. If you read the package documentation, it mentions also that graphviz must be installed separately. https://pypi.org/project/graphviz/
3rd Sep 2021, 8:42 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Wow, thanks! Tibor Santa
4th Sep 2021, 2:56 PM
Wenkai Qu
Wenkai Qu - avatar