-
Notifications
You must be signed in to change notification settings - Fork 21
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
hack / fix for dealing with graphviz .bat issue where space is in path #262
Comments
Documented here: conda-forge/graphviz-feedstock#43 |
Hi, I am getting this error while running this. Can you please take a look? CalledProcessError: Command '['dot', '-Tpng', '-O', 'simple_diagram']' returned non-zero exit status 1. [stderr: b'Format: "png" not recognized. Use one of:\r\n'] |
I am not familiar with this issue, but it looks like your supported "devices" available in graphviz is empty. How did you install graphviz? Perhaps this thread is relevant to you. @petarmhg have you seen this? |
Okay, thanks for your quick response. I installed graphviz in windows using below cmd - conda install -c conda-forge graphviz xorg-libxrender xorg-libxpm I will check the threat provided by you. Thanks |
I think that there might be an issue with you installing graphviz twice - once with conda and once with pip. I suspect that your pip-installed graphviz is the culprit here. It should be sufficient to run
|
Okay, Let me uninstall it and re-run this |
That worked like a charm. Thanks a lot! |
Awesome :) Hope you enjoy mygrad! |
@rsokl just for future reference: I believe you're right about the installing graphviz twice. If using |
(reopening because this is useful to reference) |
Find
dot.bat
file in env. E.g. at"C:\Users\Ryan S\.conda\envs\week3\Library\bin\dot.bat"
And edit it. The original file will contain
Add quotes as so:
and save - this should fix it
The text was updated successfully, but these errors were encountered: