theano - Python RuntimeError: Failed to import pydot -


i learning concepts of logistic regression concepts. when implement in python, shows me error mentioned below. beginner in python. rectify error?

runtimeerror traceback (most recent call last) in ()

64 theano.printing.pydotprint(predict, 65                            outfile="pics/logreg_pydotprint_predic.png", 66                            var_with_name_simple=true) 67 # before compilation 68 theano.printing.pydotprint_variables(prediction, 

c:\anaconda\lib\site-packages\theano\printing.pyc in pydotprint(fct, outfile, compact, format, with_ids, high_contrast, cond_highlight, colorcodes, max_label_size, scan_graphs, var_with_name_simple, print_output_file, assert_nb_all_strings)

565  566     if not pydot_imported: 567         raise runtimeerror("failed import pydot. must install pydot" 568                             " `pydotprint` work.") 569         return 

runtimeerror: failed import pydot. must install pydot pydotprint work.

it depends on put pydot files. if running straight python shell should have them installed in modules folder commonly "lib" folder inside main python folder.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -