{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/1801","labels_url":"https://api.github.com/repos/Theano/Theano/issues/1801/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/1801/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/1801/events","html_url":"https://github.com/Theano/Theano/issues/1801","id":31356434,"number":1801,"title":"RuntimeError: Failed to import pydot.","user":{"login":"mdornfe1","id":4313686,"avatar_url":"https://avatars.githubusercontent.com/u/4313686?v=3","gravatar_id":"","url":"https://api.github.com/users/mdornfe1","html_url":"https://github.com/mdornfe1","followers_url":"https://api.github.com/users/mdornfe1/followers","following_url":"https://api.github.com/users/mdornfe1/following{/other_user}","gists_url":"https://api.github.com/users/mdornfe1/gists{/gist_id}","starred_url":"https://api.github.com/users/mdornfe1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdornfe1/subscriptions","organizations_url":"https://api.github.com/users/mdornfe1/orgs","repos_url":"https://api.github.com/users/mdornfe1/repos","events_url":"https://api.github.com/users/mdornfe1/events{/privacy}","received_events_url":"https://api.github.com/users/mdornfe1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2014-04-11T19:44:06Z","updated_at":"2015-12-09T20:25:23Z","closed_at":"2014-04-12T01:55:26Z","body":"I just tried running this example http://deeplearning.net/software/theano/tutorial/printing_drawing.html for printing theano graphs from ipython, and I got this error. Anyone possibly know why? If I try accessing theano.printing.pydotprint, it has no trouble finding the attribute.\r\n\r\n>RuntimeError                              Traceback (most recent call last)\r\n<ipython-input-195-249903233dc8> in <module>()\r\n     70 theano.printing.pydotprint(predict,\r\n     71                            outfile=\"pics/logreg_pydotprint_predic.png\",\r\n---> 72                            var_with_name_simple=True)\r\n     73 # before compilation\r\n     74 theano.printing.pydotprint_variables(prediction,\r\n/usr/local/lib/python2.7/dist-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)\r\n    566 \r\n    567     if not pydot_imported:\r\n--> 568         raise RuntimeError(\"Failed to import pydot. You must install pydot\"\r\n    569                             \" for `pydotprint` to work.\")\r\n    570         return\r\n"},"comment":{"url":"https://api.github.com/repos/Theano/Theano/issues/comments/163382158","html_url":"https://github.com/Theano/Theano/issues/1801#issuecomment-163382158","issue_url":"https://api.github.com/repos/Theano/Theano/issues/1801","id":163382158,"user":{"login":"windweller","id":4699797,"avatar_url":"https://avatars.githubusercontent.com/u/4699797?v=3","gravatar_id":"","url":"https://api.github.com/users/windweller","html_url":"https://github.com/windweller","followers_url":"https://api.github.com/users/windweller/followers","following_url":"https://api.github.com/users/windweller/following{/other_user}","gists_url":"https://api.github.com/users/windweller/gists{/gist_id}","starred_url":"https://api.github.com/users/windweller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windweller/subscriptions","organizations_url":"https://api.github.com/users/windweller/orgs","repos_url":"https://api.github.com/users/windweller/repos","events_url":"https://api.github.com/users/windweller/events{/privacy}","received_events_url":"https://api.github.com/users/windweller/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T20:25:23Z","updated_at":"2015-12-09T20:25:23Z","body":"This is awesome! I was having a similar problem and did not realize to install C package at all.\r\nThanks @nouiz !!"}}