I am getting this error name 'pydot' is not defined

my code is.
I tried to install. i am getting below error for installation graphviz, pydot-ng

no packages will be modified.

unsatisfiableerror: the following specifications were found to be in conlict:

-pydot-ng->python 2.7* , -python 3.6

use conda info " to see the dependencies for eah package.

i am very new to python can any body help to fix the issue?

from IPython.display import Image

from sklearn.externals.six import StringIO

from sklearn.tree import export_graphviz

features = list(kyphosis_data.columns[1:])

print (features)

dot_data = StringIO()

export_graphviz(dtree, out_file=dot_data, feature_names= features, filled= True)

graph= pydot.graph_from_dot_data(dot_data.getvalue())

Image(graph[0].create_png())

Hi,

This is not really a question that has to do with Bokeh, I would suggest that the Anaconda mailing list is probably a better place to ask:

  Redirecting to Google Groups

Thanks,

Bryan

ยทยทยท

On Jun 25, 2017, at 05:42, Srinivasa Reddy Gangavaram <[email protected]> wrote:

my code is.
I tried to install. i am getting below error for installation graphviz, pydot-ng
no packages will be modified.

unsatisfiableerror: the following specifications were found to be in conlict:
-pydot-ng->python 2.7* , -python 3.6
use conda info <package>" to see the dependencies for eah package.

i am very new to python can any body help to fix the issue?

from IPython.display import Image
from sklearn.externals.six import StringIO
from sklearn.tree import export_graphviz

features = list(kyphosis_data.columns[1:])
print (features)

dot_data = StringIO()

export_graphviz(dtree, out_file=dot_data, feature_names= features, filled= True)

graph= pydot.graph_from_dot_data(dot_data.getvalue())
Image(graph[0].create_png())

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6b8e7e2c-6158-49a8-b429-68c6a5911e25%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.