No PNG support on Mac (even with latest version installed)

Hi all,

I'm a python (2.7, 3.4, 3.5) and Mac (OS 10.10). I'm trying to run some basic dask example. dask used graphviz in the back. I narrowed down the issue I have to the fact that my graphviz does not has png support.

I installed graphviz using homebrew and checked that I have the latest version installed (2.38).
I checked if png was supported and got this
> dot -Tpng
Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4

Because I have the latest version, I don't know what else to do.

Thanks for your help

you probably need prerequisites

You'll need to check with homebrew about this, because probably you need prerequsities like libpng, freetype, fontconfig, lzlib,cairo, pango.  I would start with those.

Probably they are not automaticly included to avoid accusations of bloatware. 

Add librsvg if you want to load external shapes.

Stephen North



Recent comments