当尝试从 DAG 渲染图形时,我得到了这个 -
ERROR - failed to execute ['dot','-Kdot','-Tpng','-O','graphviz'],make sure the Graphviz executables are on your systems' PATH
虽然 Airflow 在内部使用它来渲染其 DAG 和任务 - https://github.com/apache/airflow/blob/main/airflow/utils/dot_renderer.py
和https://github.com/apache/airflow/blob/main/airflow/cli/commands/dag_command.py
所以从技术上讲应该是可能的,但具体怎么做呢?