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
Warning: No loadimage plugin for "svg:cairo" #4
Comments
howdy! yes,This is exactly the problem I ran into on the Macintosh. apparently being able to generate SVG is not the same thing as being able to read the men. And I use matplotlib to generate the individual nodes and then read them in using graphviz. On the Mac I had to explicitly install graphviz with librsvg:
hopefully there is something similar on Ubuntu. If you get this working, please report back so I can close this and also give me instructions so I can help others. Thanks! |
I tried installing many combinations packages (including librsvg) but I guess there is an issue with Ubuntu's |
Can you check out this thread on twitter? somebody is trying to install on Windows / ubuntu. |
Just found this for different tool. "On Ubuntu Linux you'd do: $ sudo apt-get install python-dev python-setuptools graphviz plotutils librsvg2-bin" Does that help? https://github.com/wernight/scruffy-server/blob/master/README.md |
Sorry, but I am still having the same plot. |
hm...did you uninstall then reinstall all that crap? i'll try spinning up a linux box soon |
I have just created a bug report to Ubuntu. For some reason, Also, for eager Ubuntu users: there is a discussion in Japanese I found here, talks about how to recompile |
I have the same problem on windows 10. Did anyone solved this problem? |
I'm going to solve this by avoiding need to import svg. See my latest comments here parrt/AniML-java#1 |
Can you do me a favor check if
?? I hope it works to generate svg via cairo even if it can't read. @tdgunes |
Unfortunately from that link by @tdgunes It looks like -Tsvg:cairo also won't work. damn! can you guys verify at least that |
@BashfulBandit can I install this graphviz version in Ubuntu to avoid error? |
@KienVu2368 Ubuntu is based off of Debian and uses the same package manager as Debian, so at some point, yes. I don't know how exactly Ubuntu and Debian packages work together though, so I don't know when Ubuntu will be using Debian Buster packages. |
@KienVu2368 I should have also mentioned. If you want a OS which currently installs graphviz properly. Fedora currently packages graphviz with the librsvg dependency correctly and will work by just simply installing graphviz. |
Thanks for the help folks. The saga continues. |
Ok, unzip that and run dot. open t.svg and it should show good images. |
Making progress. Standby. |
Ok, i have linux and windows working outside of jupyter lab. |
Fixed by #10 Please note @tdgunes @BashfulBandit @KienVu2368 @somous-jhzhao |
Hello there,
I am trying to plot iris dataset in Ubuntu 18.04 bionic, with
graphviz
package installed. However I am gettingsvg:cairo
warnings and there only arrows with empty boxes. The warnings that I am getting:The figure looks like this:
The text was updated successfully, but these errors were encountered: