Hello,

graph_tool is installed  on ubuntu trusty according to the documentation and
when the following code is run from an ipython cell, I have:

import graph_tool as gt
mG = gt.Graph(directed = False)
v1 = mG.add_vertex()
v2 = mG.add_vertex()
mG.add_edge(v1,v2)
print gt.__version__
gt.graph_draw(mG)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-4-a81ac2c86e8f> in <module>()
      4 mG.add_edge(v1,v2)
      5 print gt.__version__
----> 6 gt.graph_draw(mG)

AttributeError: 'module' object has no attribute 'graph_draw'

2.2.30 (commit 8ff4701a, Tue Mar 25 13:40:40 2014 +0100)

I also tried to build graph-tool from source but the compilation failed due
to a lack of virtual memory (1.22 Go RAM and 1.85 Go swap)

Thank you for your advices.

Jean-Patrick 



--
View this message in context: 
http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/no-attribute-graph-draw-tp4025557.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