{"action":"created","issue":{"url":"https://api.github.com/repos/torch/nngraph/issues/74","labels_url":"https://api.github.com/repos/torch/nngraph/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/torch/nngraph/issues/74/comments","events_url":"https://api.github.com/repos/torch/nngraph/issues/74/events","html_url":"https://github.com/torch/nngraph/issues/74","id":98876838,"number":74,"title":"can't get graphviz work on mac","user":{"login":"inteliL","id":5235521,"avatar_url":"https://avatars.githubusercontent.com/u/5235521?v=3","gravatar_id":"","url":"https://api.github.com/users/inteliL","html_url":"https://github.com/inteliL","followers_url":"https://api.github.com/users/inteliL/followers","following_url":"https://api.github.com/users/inteliL/following{/other_user}","gists_url":"https://api.github.com/users/inteliL/gists{/gist_id}","starred_url":"https://api.github.com/users/inteliL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inteliL/subscriptions","organizations_url":"https://api.github.com/users/inteliL/orgs","repos_url":"https://api.github.com/users/inteliL/repos","events_url":"https://api.github.com/users/inteliL/events{/privacy}","received_events_url":"https://api.github.com/users/inteliL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-08-04T02:46:55Z","updated_at":"2015-12-07T19:27:42Z","closed_at":"2015-09-14T10:03:28Z","body":"When I try to use \"graph.dot\" on mac, it gives following error:\r\n\r\n```\r\nWarning: Could not load \"/usr/local/Cellar/graphviz/2.38.0/lib/graphviz/libgvplugin_dot_layout.6.dylib\" - file not found\r\nError: Layout type: \"dot\" not recognized. Use one of: circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi\r\n/Users/luo123n/torch/install/bin/luajit: ...s/luo123n/torch/install/share/lua/5.1/graph/graphviz.lua:135: graphviz layout failed\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t...s/luo123n/torch/install/share/lua/5.1/graph/graphviz.lua:135: in function 'graphvizFile'\r\n\t...s/luo123n/torch/install/share/lua/5.1/graph/graphviz.lua:162: in function 'dot'\r\n\ttest.lua:23: in main chunk\r\n\t[C]: in function 'dofile'\r\n\t...123n/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk\r\n\t[C]: at 0x010e387330\r\n```\r\n\r\nI can find similar issues using google, but there seems no solution yet."},"comment":{"url":"https://api.github.com/repos/torch/nngraph/issues/comments/162633094","html_url":"https://github.com/torch/nngraph/issues/74#issuecomment-162633094","issue_url":"https://api.github.com/repos/torch/nngraph/issues/74","id":162633094,"user":{"login":"safrooze","id":14987847,"avatar_url":"https://avatars.githubusercontent.com/u/14987847?v=3","gravatar_id":"","url":"https://api.github.com/users/safrooze","html_url":"https://github.com/safrooze","followers_url":"https://api.github.com/users/safrooze/followers","following_url":"https://api.github.com/users/safrooze/following{/other_user}","gists_url":"https://api.github.com/users/safrooze/gists{/gist_id}","starred_url":"https://api.github.com/users/safrooze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/safrooze/subscriptions","organizations_url":"https://api.github.com/users/safrooze/orgs","repos_url":"https://api.github.com/users/safrooze/repos","events_url":"https://api.github.com/users/safrooze/events{/privacy}","received_events_url":"https://api.github.com/users/safrooze/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T19:27:41Z","updated_at":"2015-12-07T19:27:41Z","body":"Reinstalling the graph package using @soumith recommendation works. Thanks! I didn't try the solution recommended by @0wu."}}