After I had installed graph-tool and gtk+3 via homebrew and tried to run a graph-tool demo, I came across the following problem:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/usr/local/lib/python2.7/site-packages/graph_tool/draw/cairo_draw.py", line 868, in graph_draw
File "/usr/local/lib/python2.7/site-packages/graph_tool/draw/gtk_draw.py", line 950, in interactive_window
nodesfirst, update_layout, **kwargs)
File "/usr/local/lib/python2.7/site-packages/graph_tool/draw/gtk_draw.py", line 880, in __init__
GError: Couldn't recognize the image file format for file '/usr/local/lib/python2.7/site-packages/graph_tool/draw/graph-tool-logo.svg'
I then did a little bit Googling and found out that this was caused by a lack of SVG lib ‘librsvg’ for homebrew’s gtk installation. However, a simple homebrew installation of that lib didn’t fix Continue reading...