You must install pydot and graphviz for `pydotprint` to work. code example Example: pydotprint pip install pydot==1.2.3