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

2010-02-05 Thread Jankins
:22 AM, David Cournapeau courn...@gmail.com wrote: On Thu, Jan 28, 2010 at 3:11 PM, David Cournapeau da...@silveregg.co.jp wrote: Jankins wrote: Yes. I am using scipy.sparse.linalg.eigen.arpack. The exact output is: /usr/local/lib/python2.6/dist-packages/scipy/sparse/linalg/eigen

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

2010-01-27 Thread Jankins
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] wired error message in scipy.sparse.eigen function: Segmentation fault

2010-01-27 Thread Jankins
: NOT AVAILABLE atlas_blas_info: libraries = ['f77blas', 'cblas', 'atlas'] library_dirs = ['/usr/lib'] language = c include_dirs = ['/usr/include'] mkl_info: NOT AVAILABLE Thanks so much. On 1/27/2010 9:06 PM, David Cournapeau wrote: Jankins wrote: Dear all, I

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 ___ NumPy

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

2010-01-12 Thread Jankins
0.11.1 .. -- Ran 10 tests in 2.240s OK nose.result.TextTestResult run=10 errors=0 failures=0 On 1/12/2010 8:15 AM, Alan G Isaac wrote: On 1/12/2010 1:35 AM, Jankins wrote: from scipy.sparse.linalg.eigen import

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

2010-01-12 Thread Jankins
still didn't get it. Why some of you can directly use scipy.sparse.linalg.eigen as a function, while some of you couldn't use it that way? Anyway, your solution works for me. On 1/12/2010 9:19 AM, Arnar Flatberg wrote: On Tue, Jan 12, 2010 at 4:11 PM, Jankins andyjian430...@gmail.com

[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.linalg.eigen(...)? Thanks. Jankins

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, Jankinsandyjian430...@gmail.com

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 module 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 Mon, Jan 11, 2010 at 18:03,

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 stdin, line 1, in module TypeError: 'module' object is not callable It's really wired. Jankins On 1/11/2010 7:53 PM, josef.p...@gmail.com wrote: On Mon, Jan

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 in Ubuntu 9.10 neither

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 wrote

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

2010-01-11 Thread Jankins
import eigen Traceback (most recent call last): File stdin, line 1, in module ImportError: cannot import name eigen It's so wired. Thanks. On 1/11/2010 11:46 PM, David Cournapeau wrote: Jankins wrote: Thanks so much. I have successfully installed scipy in Ubuntu 9.10. But I still