2016-04-13 3 views
0

graphvizモジュールを使用して意思決定ツリーを描画しようとしましたが、python2でうまく動作します。 Python3でこのモジュールを使う方法はありますか? python3で決定木を描くのをサポートする他のモジュールはありますか?graphvizをpython3で使用する

+0

[python3で決定木を描画するモジュール](http://stackoverflow.com/questions/36604310/module-to-draw-a-decision-tree-with-python3)の可能な複製 – unutbu

答えて

0

python3用にgraphvizをインストールしましたか?それは私のために正常に動作します:私はDebianのを使用していますが、graphvizの自分自身のためのDebianパッケージが存在しない

[email protected]:~$ python3 
Python 3.5.3 (default, Jan 19 2017, 14:11:04) 
[GCC 6.3.0 20170118] on linux 
Type "help", "copyright", "credits" or "license" for more information. 
>>> import graphviz 
>>> 

、あなたはPIP3とそれをインストールする必要があります。

関連する問題