On 04/18/2014 06:26 AM, EFTL wrote:
Hi, this is the first time I'm dabbling into graph-tool as I had always been using networkx. Anyway, I managed to successfully install the package via MacPorts.
When I run: import graph_tool -- everything seems to be running okay.
However, when I run: from graph_tool.all import *
I am getting the following:
ERROR:root:Could not find any typelib for Gtk
ERROR:root:Could not find any typelib for Gdk
ERROR:root:Could not find any typelib for GdkPixbuf
Has anyone encountered this before? Were you able to resolve it?
These are just warnings, right? The module actually imports successfully? This is probably just because you don't have GTK+ 3 installed, which is needed for interactive visualization. Just do: port install gtk3 and everything should work. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>