from graph_tool.all import * failed
Dear all, I'm trying to take the first steps on using graph-tool. For this purpose, I'm following the instructions in the "Quick start using graph-tool". However, I could not advance to next steps due to the following error: Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from graph_tool.all import * /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject
When I import graph-tool just typing "import graph-tool", everything seems ok: Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import graph_tool
Please, let me know what is possibly going wrong! Thank you in advance! Marcio -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 05/15/2012 09:59 PM, mlacencio wrote:
Dear all,
I'm trying to take the first steps on using graph-tool. For this purpose, I'm following the instructions in the "Quick start using graph-tool". However, I could not advance to next steps due to the following error:
Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from graph_tool.all import * /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject
The message above is not an error, it is just a warning, so you can safely ignore it. It is caused by the python bindings to GTK, not graph-tool anyway... Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
mlacencio -
Tiago de Paula Peixoto