{"action":"created","issue":{"url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python/issues/69","repository_url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python","labels_url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python/issues/69/comments","events_url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python/issues/69/events","html_url":"https://github.com/amueller/introduction_to_ml_with_python/issues/69","id":284929900,"node_id":"MDU6SXNzdWUyODQ5Mjk5MDA=","number":69,"title":"Problem on page 71 of showing the animal_tree","user":{"login":"charles-bu","id":34530324,"node_id":"MDQ6VXNlcjM0NTMwMzI0","avatar_url":"https://avatars1.githubusercontent.com/u/34530324?v=4","gravatar_id":"","url":"https://api.github.com/users/charles-bu","html_url":"https://github.com/charles-bu","followers_url":"https://api.github.com/users/charles-bu/followers","following_url":"https://api.github.com/users/charles-bu/following{/other_user}","gists_url":"https://api.github.com/users/charles-bu/gists{/gist_id}","starred_url":"https://api.github.com/users/charles-bu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charles-bu/subscriptions","organizations_url":"https://api.github.com/users/charles-bu/orgs","repos_url":"https://api.github.com/users/charles-bu/repos","events_url":"https://api.github.com/users/charles-bu/events{/privacy}","received_events_url":"https://api.github.com/users/charles-bu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-12-28T14:52:16Z","updated_at":"2018-11-27T18:29:48Z","closed_at":"2018-01-04T11:07:08Z","author_association":"NONE","body":"import graphviz\r\nimport mglearn\r\n\r\nmglearn.plots.plot_animal_tree()\r\n\r\nthe system did not output the expected decision tree graph but some error message detailed as below,\r\n\r\nrunfile('D:/Anaconda_Exercise/ML/cp2/cp2_17_decision_tree_model_classification_display.py', wdir='D:/Anaconda_Exercise/ML/cp2')\r\nTraceback (most recent call last):\r\n\r\n  File \"<ipython-input-2-2a4eae375b92>\", line 1, in <module>\r\n    runfile('D:/Anaconda_Exercise/ML/cp2/cp2_17_decision_tree_model_classification_display.py', wdir='D:/Anaconda_Exercise/ML/cp2')\r\n\r\n  File \"D:\\anaconda3\\lib\\site-packages\\spyder\\utils\\site\\sitecustomize.py\", line 710, in runfile\r\n    execfile(filename, namespace)\r\n\r\n  File \"D:\\anaconda3\\lib\\site-packages\\spyder\\utils\\site\\sitecustomize.py\", line 101, in execfile\r\n    exec(compile(f.read(), filename, 'exec'), namespace)\r\n\r\n  File \"D:/Anaconda_Exercise/ML/cp2/cp2_17_decision_tree_model_classification_display.py\", line 19, in <module>\r\n    mglearn.plots.plot_animal_tree()\r\n\r\n  File \"D:\\anaconda3\\lib\\site-packages\\mglearn\\plot_animal_tree.py\", line 25, in plot_animal_tree\r\n    mygraph.render(\"tmp\")\r\n\r\n  File \"D:\\anaconda3\\lib\\site-packages\\graphviz\\files.py\", line 146, in render\r\n    rendered = backend.render(self._engine, self._format, filepath)\r\n\r\n  File \"D:\\anaconda3\\lib\\site-packages\\graphviz\\backend.py\", line 100, in render\r\n    'are on your systems\\' path' % args)\r\n\r\nRuntimeError: failed to execute ['dot', '-Tpng', '-O', 'tmp'], make sure the Graphviz executables are on your systems' path\r\n\r\n\r\n￼your advice is highly appreciated!\r\n"},"comment":{"url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python/issues/comments/442166408","html_url":"https://github.com/amueller/introduction_to_ml_with_python/issues/69#issuecomment-442166408","issue_url":"https://api.github.com/repos/amueller/introduction_to_ml_with_python/issues/69","id":442166408,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjE2NjQwOA==","user":{"login":"amueller","id":449558,"node_id":"MDQ6VXNlcjQ0OTU1OA==","avatar_url":"https://avatars3.githubusercontent.com/u/449558?v=4","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T18:29:48Z","updated_at":"2018-11-27T18:29:48Z","author_association":"OWNER","body":"``conda install graphviz python-graphviz``"}}
{"actor":{"display_login":"amueller"}}