Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pyreverse complaining even after having Graphviz

I want to be able to save the output in PNG and have installed Graphviz. Still it complains saying Graphviz is not installed:

The output format 'output.png' is currently not available. Please install 'Graphviz' to have other output formats than 'dot' or 'vcg'.

like image 749
KanwarG Avatar asked Feb 04 '16 15:02

KanwarG


3 Answers

As mentioned in comments by @KanwarG the solution is to install Graphvis from as a proper package and not using the python package found using pip.

If using a mac then a solution is to used Homebrew. If you do not have Homebrew then follow these instructions to install it. Then it is easy to install Graphviz using the following command.

brew install graphviz

If you are using ubuntu Debian the following command is likely to work.

apt-get install graphviz

Hope this helps other people trying to find a solution.

like image 94
hpgmiskin Avatar answered Nov 16 '22 20:11

hpgmiskin


It worked out for me on windows by installing Graphviz from their website. Then I added C:\Program Files (x86)\Graphviz2.38\bin to the "Path" environment variable (so the "dot" command is recognized by windows) :

enter image description here

like image 28
nero Avatar answered Nov 16 '22 19:11

nero


In Windows, the easiest way is to use the Windows equivalent of Homebrew, the package manager Chocolatey. Once you have that installed:

choco install graphviz
like image 7
Stefan Avatar answered Nov 16 '22 20:11

Stefan