如何从 Cloud Composer 中 Airflow 中的 DAG 访问 `dot`/`graphviz` 可执行文件

当尝试从 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.pyhttps://github.com/apache/airflow/blob/main/airflow/cli/commands/dag_command.py

所以从技术上讲应该是可能的,但具体怎么做呢?

iCMS 回答:如何从 Cloud Composer 中 Airflow 中的 DAG 访问 `dot`/`graphviz` 可执行文件

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/137650.html

大家都在问