Hi, I don't think you're supposed to do "gt.centrality.eigenvector(MyGraph)". Did you try "gt.eigenvector(MyGraph)"? On 10/4/18 8:08 AM, ashutosh wrote:
Sir,
I am unable to import centrality function from the graph tool package
*import graph_tool as gt*
*gt.centrality.eigenvector(myGraph)*
gives the following error:
*AttributeError: module 'graph_tool' has no attribute 'centrality'*
I tried after restarting my Spyder IDE but the issue remains
I am using graph tool version '2.27 (commit ce258562, Thu Jun 28 14:29:44 2018 +0100)'
OS: Linux (Ubuntu 64bit)
-- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/ _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool