[Numpy-discussion] TypeError: 'module' object is not callable

Robert Kern robert.kern at gmail.com
Mon Jan 11 19:12:30 EST 2010

On Mon, Jan 11, 2010 at 18:03, Jankins <andyjian430074 at gmail.com> wrote:
> It is very simple code:
> import networkx as nx
> import scipy.sparse.linalg as linalg
> G = nx.Graph()
> G.add_star(range(9))
> M= nx.to_scipy_sparse_matrix(G)
> print linalg.eigen(M)
> Thanks.

Please post the complete traceback.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list