Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting this error while running this in my Jupyter notebook CalledProcessError: Command '['dot', '-Tpng', '-O', 'simple_diagram']' returned non-zero exit status 1. [stderr: b'Format: "png" not recognized. Use one of:\r\n'] #271

Closed
Nikhilkohli1 opened this issue Sep 10, 2020 · 2 comments

Comments

@Nikhilkohli1
Copy link

No description provided.

@Nikhilkohli1
Copy link
Author

Resolved.

Apparently it was related to Graphviz installation in windows.

Below are the steps which resolved this for me-

if it is already installed through pip-
pip uninstall graphiz

conda install graphviz
conda install python-graphviz

@mledoze
Copy link

mledoze commented Oct 20, 2020

I got the same error on Windows 10 after installing graphviz with Scoop. This helped me: https://mamchenkov.net/wordpress/2019/01/15/graphviz-dot-format-png-not-recognized/

Simply run dot -c after the installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants