提交 a591f4bd authored 作者: nouiz's avatar nouiz

Merge pull request #1038 from lamblin/check_pydot

Check the graphviz executable are there.
...@@ -13,7 +13,10 @@ import numpy ...@@ -13,7 +13,10 @@ import numpy
try: try:
import pydot as pd import pydot as pd
pydot_imported = True if pd.find_graphviz():
pydot_imported = True
else:
pydot_imported = False
except ImportError: except ImportError:
pydot_imported = False pydot_imported = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论