Reputation: 161
When I try to import graphviz package to my project I have error:
ModuleNotFoundError: No module named 'graphviz'
I use Pycharm on Windows. I install package from Settings -> Project Interpreter
, but error it's still the same.
I tired python -m pip install graphviz
and python3 -m pip install graphviz
in CMD, but without result.
My python version is: Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)]
.
How can I resolve this problem?
Upvotes: 1
Views: 3185
Reputation: 428
The Python graphviz package requires you to have Graphviz software installed. The package itself is just an interface with this software.
The only dependency is a working installation of Graphviz (download page).
source: https://graphviz.readthedocs.io/en/stable/manual.html
Upvotes: 3