gephi / gephi-plugins

Repository for Gephi Plugins maintained by the team. Each plugin has it's branch.
270 stars 623 forks source link

Graphviz plug-in error: "cannot run program "dot": error=2, No such file or directory #283

Open ldlpdx opened 8 years ago

ldlpdx commented 8 years ago

Hello. I've just started to use gephi and am trying to use the Graphviz plug-in. But I'm getting the error that's in the subject line of this issue.

I'm aware that some Mac users have had issues with Graphviz and El Capitan, which is my OS (version 10.11.5). I've followed the instructions in this post on the Graphviz forum, and was able to open the "hello.dot" file in Graphviz, so it's installed properly.

I tried uninstalling/reinstalling the plugin after I did all of the instructions from that post, but it still won't work. I don't see anywhere in gephi to adjust where it looks for Graphviz.

bumatic commented 8 years ago

I have had a similar issue on Mac OS 10.10.5 (Yosemite). Graphviz is properly installed and added to PATH. Thus, I can call "dot" from any location using the command line. Hoewever, the Graphviz plugin doesn't seem to get it. I fixed it by changing the "graphviz binary" variable in the Gephi interface (the option on the very bottom) to the the actual location of the dot binary. In my case this was "/usr/local/bin/dot".

johnaco commented 7 years ago

Thank you for the tip bumatic! This worked for me as well although I was initially confused about where to enter the path to the dot executable.

v4lenz commented 6 years ago

In my case this change stopped gephi from complaining but didn't really make gephi compute the layout using graphviz algorithms

romenigld commented 5 years ago

how can I change the "graphviz binary" variable in the Gephi interface (the option on the very bottom) to the the actual location of the dot binary?