1

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?

nucsit026
  • 652
  • 7
  • 16

1 Answers1

2

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

Chasevanb
  • 418
  • 3
  • 10
  • I use `pip install graphviz` earlier. When I type it now i have: `Requirement already satisfied: graphviz in c:\users\my_user\appdata\local\programs\python\python38-32\lib\site-packages (0.13.2)`. – tryToRunThisCommand Jan 23 '20 at 21:12