I'm trying to use graphviz in a jupyter-notebook. And I've installed two packages. One using pip install graphviz
and one using pacman -S graphviz
in archlinux.
But when I type import graphviz
in the Jupyte Notebook, I get this error:
ModuleNotFoundError: No module named 'graphviz'
Even when I type python -m "import graphviz"
in the terminal, I get the same error:
I've seen the answers in this thread, but they're all about installing graphviz
through conda
. But I'm not using the Jupyter Notebook through anaconda.
How can I fix this?