Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-02-05 Thread Jankins
5, 2010 at 1:22 AM, David Cournapeau wrote: > On Thu, Jan 28, 2010 at 3:11 PM, David Cournapeau > wrote: > > Jankins wrote: > >> Yes. I am using scipy.sparse.linalg.eigen.arpack. > >> > >> The exact output is: > >> > >> > /usr/local/l

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
. Now I switch to use numpy.linalg.eigvals, but it is slower than scipy.sparse.linalg.eigen.arpack module. Thanks. Jankins On 1/27/2010 9:36 PM, David Cournapeau wrote: > the exact atlas you are > using. For example, assuming scipy is insta ___

Re: [Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
libraries = ['lapack', 'f77blas', 'cblas', 'atlas'] library_dirs = ['/usr/lib/atlas', '/usr/lib'] language = f77 include_dirs = ['/usr/include'] lapack_mkl_info: NOT AVAILABLE blas_mkl_info: NOT A

[Numpy-discussion] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
rk, I have to rewrite my code in MATLAB, which is what I am trying to avoid. Thanks so much. Yours sincerely, Jankins ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

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

2010-01-12 Thread Jankins
, 'arpack', 'aslinearoperator', 'eigen', 'eigen_symmetric', 'np', 'speig s', 'warnings'] >>> But I still didn't get it. Why some of you can directly use scipy.sparse.linalg.eigen as a function, while some of you c

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

2010-01-12 Thread Jankins
', '__name__', '__pack age__', '__path__', 'bench', 'lobpcg', 'test'] >>> linalg.eigen.test() Running unit tests for scipy.sparse.linalg.eigen NumPy version 1.3.0 NumPy is installed in C:\Python26

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

2010-01-11 Thread Jankins
Here is the complete command lines in Windows 7: C:\Users\jankins>python Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from sc

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

2010-01-11 Thread Jankins
Thanks so much. I have successfully installed scipy in Ubuntu 9.10. But I still couldn't use scipy.sparse.linalg.eigen function. The test result is : Ran 3490 tests in 40.268s FAILED (KNOWNFAIL=4, SKIP=28, failures=1) Thanks again. Jankins On 1/11/2010 10:33 PM, David Cournapeau

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

2010-01-11 Thread Jankins
linalg has no attribute "eigen". Are you able to use scipy.sparse.linalg.eigen? My working dir is not inside scipy. It is 'C:\\Users\\jankins'. I am using Python 2.6.2 and the latest version of scipy. What should I do? And I couldn't even successfully install scipy i

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

2010-01-11 Thread Jankins
Here is the command line python: >>> import scipy.sparse.linalg as linalg >>> >>> linalg.eigen() Traceback (most recent call last): File "", line 1, in TypeError: 'module' object is not callable >>> It's really wired. Jankin

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

2010-01-11 Thread Jankins
I am sorry. My bad. File "C:\test.py", line 7, in print linalg.eigen(M) 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

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

2010-01-11 Thread Jankins
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. Jankins On 1/11/2010 5:49 PM, Robert Kern wrote: > On Mon, Jan 11, 2010 at 17:44, Jankins wrote: > &g

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

2010-01-11 Thread Jankins
Hello, I want to use scipy.sparse.linalg.eigen function, but it keeps popping out error message: TypeError: 'module' object is not callable "eigen" is a module, but it has "__call__" method. Why couldn't I call scipy.sparse.l