[Numpy-discussion] TypeError: 'module' object is not callable
andyjian430074 at gmail.com
Mon Jan 11 19:16:12 EST 2010
I am sorry. My bad.
File "C:\test.py", line 7, in <module>
TypeError: 'module' object is not callable
I installed "pythonxy". "pythonxy" has already included the scipy package.
On 1/11/2010 6:12 PM, Robert Kern wrote:
> 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()
>> M= nx.to_scipy_sparse_matrix(G)
>> print linalg.eigen(M)
> Please post the complete traceback.
More information about the NumPy-Discussion