Could not write the graph in DOT format. Please install either `pygraphviz` or `pydot` modules.
See original GitHub issuecfn-lint version: (cfn-lint --version
). cfn-lint 0.37.1
Description of issue.. Attempting to use --build-graph and getting the following error. This is with any template I try.
❯ cfn-lint --build-graph tomcat.yaml
2020-10-26 11:42:06,181 - cfnlint.template - ERROR - Could not write the graph in DOT format. Please install either pygraphviz
or pydot
modules.
I have verified that dot is available: ❯ which dot /usr/local/bin/dot ❯ dot -V dot - graphviz version 2.44.1 (20200629.0846)
I have graphviz is installed via brew:
❯ brew install graphviz
Warning: graphviz 2.44.1 is already installed and up-to-date
To reinstall 2.44.1, run brew reinstall graphviz
I have verified path: /Users/joshkonkol/.pyenv/shims:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/go/bin
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
This was helpful. I did indeed have two versions of cfn-lint. I removed the old version and updated my path and it does indeed work.
Thanks for your help
You will also have to specify a file.
Did you notice that this is different from the output yesterday? I don’t know what you did, but chances are it will work now