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?
After updating graph-tool ( to version |2.2.31 (commit 245d1e2c, Thu Mar
27 11:28:39 2014 +0100)|), and a bunch of over things as I passed to
Mint 15 to Mint 16, I encounter the following value error, when I
manipulates parts of a PropertyMap (through indexing or via the |.fa|
attribute (bellow, |dthetas| is an edge propertymap on a graph):
It also happen when I filter a graph and do for example |eprop.fa *= 2|
I just wanted to know if this is expected, and I‘ll go fix my code
everywhere I do that kind of assignation, or if it is unintended (and
I’ll go fix my code anyway ;-).
Ok, it looks like something nontrivial changed in the internals of numpy
1.9. I'll have to investigate... But I'll wait until version 1.9 is
actually released, to be sure it is not some bug.
Thanks, Tiago. I do have gtk3 installed. What I did was install XQuartz
instead, and it helped fix this particular issue-- allowing me to run that
line (from graph_tool.all import *) without error.
However, this error appeared
gi._glib.GError: Couldn't recognize the image file format for file
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/graph_tool/draw/graph-tool-logo.svg'
Exception AttributeError: "'GraphWindow' object has no attribute 'graph'"
in <bound method GraphWindow.__del__ of <GraphWindow object at 0x13348b690
(graph_tool+draw+gtk_draw+GraphWindow at 0x7fb15c82a320)>> ignored