I have followed the instructions for Ubuntu here

https://graph-tool.skewed.de/download#debian

to install the precompiled version of graph-tool onto my Ubuntu 15.10
system.
It went okay except that I got the complaint, even after installing the key,
that the graph-tool package wasn't verified.

After installation, there seems to be a conflict between graph_tool and
pylab.
I usually start python 2.7 under ipython with ipython --pdb --pylab

After doing so, the  following works alright

from graph_tool import Graph

However,  the following hangs forever:


from graph_tool.all import graph_draw
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot register
existing type 'GtkWidget'
  g_type = info.get_g_type()
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot add class
private field to invalid type '<invalid>'
  g_type = info.get_g_type()
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot add
private field to invalid (non-instantiatable) type '<invalid>'
  g_type = info.get_g_type()
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning:
g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed
  g_type = info.get_g_type()
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning: cannot register
existing type 'GtkBuildable'
  g_type = info.get_g_type()
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning:
g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE
(interface_type)' failed
  g_type = info.get_g_type()
/usr/lib/python2.7/dist-packages/gi/module.py:176: Warning:
g_once_init_leave: assertion 'result != 0' failed
  g_type = info.get_g_type()



I don't understand the errors, but possibly some test could avert the
hang/crash outcome?

Thanks,
Chris



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/import-of-graph-tool-hangs-Ubuntu-15-10-tp4026409.html
Sent from the Main discussion list for the graph-tool project mailing list 
archive at Nabble.com.
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to