2017-06-04 27 views
0

以下のコードでpydotplus.graph_from_dot_data呼び出しのエラーを取得:エラー出力InvocationException:GraphVizをの実行可能ファイルが見つからない(パイソン)

from IPython.display import Image 

dot_data = tree.export_graphviz(clf, 
           out_file=None, 
           feature_names=iris.feature_names, 
           class_names=iris.target_names, 
           filled=True, 
           rounded=True, 
           special_characters=True) 
graph = pydotplus.graph_from_dot_data(dot_data) 
Image(graph.create_png()) 

を:その要件でpydotplus状態として

File "C:\Users\ss\Anaconda3\lib\site-packages\pydotplus\graphviz.py", line 1960, in create 'GraphViz\'s executables not found') 
InvocationException: GraphViz's executables not found 
+0

こんにちは、スタックオーバーフローへようこそ。 の [stackoverflow.com/help/how-to-ask](https://stackoverflow.com/help/how-to-ask)]リンクを参照して、質問し、それに応じて質問を更新する方法の詳細を参照してください。 –

+0

[Graphvizの実行ファイルが見つかりません(Python 3.4)](https://stackoverflow.com/questions/28312534/graphvizs-executables-are-not-found-python-3-4) – lepsch

答えて

0

、あなたは内に設置GraphVizを必要としますあなたのシステム。

関連する問題