[Python] Why graphviz does not work? 'dot' is not recognized as an internal or external...

Discussão em 'Python' iniciado por Stack, Maio 19, 2025.

  1. Stack

    Stack Membro Participativo

    I install graphviz on Windows with pip install.

    Checked with pip show graphviz

    Name: graphviz
    Version: 0.20.3
    Summary: Simple Python interface for Graphviz
    Home-page: https://github.com/xflr6/graphviz
    Author: Sebastian Bank
    Author-email: sebastian.bank@uni-leipzig.de
    License: MIT
    Location: c:\applics\python 3.9\lib\site-packages
    Requires:


    If I try to run:

    pydeps dusk_pizding/ --max-bacon=4


    I got:

    'dot' is not recognized as an internal or external command,
    operable program or batch file.


    Also, dot executable is not found in CMD:

    dot -v

    'dot' is not recognized as an internal or external command,
    operable program or batch file.


    In Gitbash, same not found:

    dot -v
    bash: dot: command not found


    why?

    Continue reading...

Compartilhe esta Página