[SciPy-user] umfpack and building scipy from source
Ryan Krauss
ryanlists at gmail.com
Wed Nov 29 18:18:29 EST 2006
I am trying to build scipy/numpy from source on Windows XP. I do not
have umfpack installed. When I build scipy I get this warning:
C:\Python24\lib\site-packages\numpy\distutils\system_info.py:401: UserWarning:
UMFPACK sparse solver (http://www.cise.ufl.edu/research/sparse/umfpack/)
not found. Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [umfpack]) or by setting
the UMFPACK environment variable.
warnings.warn(self.notfounderror.__doc__)
numpy.test() runs without problems. The output of scipy.test() is
slightly scary:
scipy.test()
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
Found 397 tests for scipy.ndimage
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
Warning: FAILURE importing tests for <module 'scipy.sparse.sparse'
from '...ckages\\scipy\\sparse\\sparse.pyc'>
C:\Python24\Lib\site-packages\scipy\linsolve\_superlu.py:2:
ImportError: numpy.core.multiarray failed to import (in ?)
Warning: FAILURE importing tests for <module 'scipy.optimize.optimize'
from '...es\\scipy\\optimize\\optimize.pyc'>
C:\Python24\Lib\site-packages\scipy\optimize\minpack.py:6:
AttributeError: 'module' object has no attribute 'error' (in ?)
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
Warning: FAILURE importing tests for <module
'scipy.linsolve.umfpack.umfpack' from
'...y\\linsolve\\umfpack\\umfpack.pyc'>
C:\Python24\Lib\site-packages\scipy\linsolve\_superlu.py:3:
ImportError: numpy.core.multiarray failed to import (in ?)
RuntimeError: module compiled against version 1000002 of C-API but
this version of numpy is 1000009
Warning: FAILURE importing tests for <module 'scipy.linsolve.umfpack'
from '...\\linsolve\\umfpack\\__init__.pyc'>
C:\Python24\Lib\site-packages\scipy\linsolve\_superlu.py:4:
ImportError: numpy.core.multiarray failed to import (in ?)
Found 95 tests for scipy.sparse
Found 0 tests for __main__
.............................................................................................................................................................................................................................................................................................................................................................................................................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE...E.EE.......EEE..EE.EE.E.EEEEEEEE.EEE.E.E.E
======================================================================
ERROR: check_eye (scipy.tests.test_sparse.test_construct_utils)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 626, in check_eye
a = speye(2, 3 )
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2833, in speye
return spdiags(diags, k, n, m)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2811, in spdiags
diagfunc = eval('sparsetools.'+_transtabl[mtype]+'diatocsc')
File "<string>", line 0, in ?
AttributeError: 'module' object has no attribute 'ddiatocsc'
======================================================================
ERROR: check_identity (scipy.tests.test_sparse.test_construct_utils)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 621, in check_identity
a = spidentity(3)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2823, in spidentity
return spdiags( diags, 0, n, n )
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2811, in spdiags
diagfunc = eval('sparsetools.'+_transtabl[mtype]+'diatocsc')
File "<string>", line 0, in ?
AttributeError: 'module' object has no attribute 'ddiatocsc'
======================================================================
ERROR: check_add (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Check whether the copy=True and copy=False keywords work
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_elmul (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_getelement (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_large (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_matmat (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_matvec (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Does the matrix's mean(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_rmatvec (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_setelement (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Test whether the lu_solve command segfaults, as reported by Nils
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Does the matrix's sum(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_toarray (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_tocoo (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_tocsc (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_tocsr (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_todense (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_transpose (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Test for new slice functionality (EJS)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_constructor1 (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_constructor2 (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_constructor3 (scipy.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Test manipulating empty matrices. Fails in SciPy SVN <= r1768
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_add (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Check whether the copy=True and copy=False keywords work
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_elmul (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_getelement (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_large (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_matmat (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_matvec (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Does the matrix's mean(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_rmatvec (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_setelement (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Test whether the lu_solve command segfaults, as reported by Nils
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Does the matrix's sum(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_toarray (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_tocoo (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_tocsc (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_tocsr (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_todense (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_transpose (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Test for new slice functionality (EJS)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_constructor1 (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_constructor2 (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_constructor3 (scipy.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: Test manipulating empty matrices. Fails in SciPy SVN <= r1768
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 33, in setUp
self.datsp = self.spmatrix(self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1076, in __init__
ocsc = csc_matrix(transpose(s))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
481, in __init__
func = getattr(sparsetools, _transtabl[dtype.char]+'fulltocsc')
AttributeError: 'module' object has no attribute 'dfulltocsc'
======================================================================
ERROR: check_elmul (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 100, in check_elmul
c = a ** b
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
213, in __pow__
return csc ** other
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
735, in __pow__
func = getattr(sparsetools, _transtabl[dtypechar]+'cscmul')
AttributeError: 'module' object has no attribute 'dcscmul'
======================================================================
ERROR: check_large (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 216, in check_large
csc2 = csr.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_matmat (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 140, in check_matmat
assert_array_almost_equal((asp*bsp).todense(), a*b)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1984, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 312, in dot
result = self.matmat(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
324, in matmat
return csc.matmat(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
868, in matmat
func = getattr(sparsetools, ftype+'cscmucsc')
AttributeError: 'module' object has no attribute 'dcscmucsc'
======================================================================
ERROR: check_tocoo (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 185, in check_tocoo
a = self.datsp.tocoo()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
366, in tocoo
return csc.tocoo()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1011, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_tocsc (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 190, in check_tocsc
assert_array_almost_equal(a.todense(), self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
358, in todense
return asmatrix(self.toarray())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1019, in toarray
func = getattr(sparsetools, self.ftype+'csctofull')
AttributeError: 'module' object has no attribute 'dcsctofull'
======================================================================
ERROR: check_tocsr (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 197, in check_tocsr
assert_array_almost_equal(a.todense(), self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
358, in todense
return asmatrix(self.toarray())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1576, in toarray
func = getattr(sparsetools, self.ftype+'csctofull')
AttributeError: 'module' object has no attribute 'dcsctofull'
======================================================================
ERROR: Test provided by Andrew Straw. Fails in SciPy <= r1477.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 503, in check_convert
assert_array_equal( csc.toarray()[:,n-1], zeros(m,) )
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1019, in toarray
func = getattr(sparsetools, self.ftype+'csctofull')
AttributeError: 'module' object has no attribute 'dcsctofull'
======================================================================
ERROR: check_mult (scipy.tests.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 472, in check_mult
D = A*A.T
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1984, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 312, in dot
result = self.matmat(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
324, in matmat
return csc.matmat(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
868, in matmat
func = getattr(sparsetools, ftype+'cscmucsc')
AttributeError: 'module' object has no attribute 'dcscmucsc'
======================================================================
ERROR: check_add (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 93, in check_add
c = a + b
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
179, in __add__
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 232, in check_add_dense
sum1 = self.dat + self.datsp
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
183, in __radd__
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_elmul (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 100, in check_elmul
c = a ** b
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
212, in __pow__
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_large (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 216, in check_large
csc2 = csr.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_matmat (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 140, in check_matmat
assert_array_almost_equal((asp*bsp).todense(), a*b)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2625, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 312, in dot
result = self.matmat(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
323, in matmat
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_matvec (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 112, in check_matvec
assert_array_almost_equal(M * col, M.todense() * col)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2625, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 309, in dot
result = self.matvec(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
330, in matvec
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: Does the matrix's mean(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 52, in check_mean
assert_array_equal(self.dat.mean(), self.datsp.mean())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 413, in mean
return self.sum(None) * 1.0 / (self.shape[0]*self.shape[1])
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 396, in sum
return (o0 * (self * o1)).A.squeeze()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2625, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 309, in dot
result = self.matvec(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
330, in matvec
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_rmatvec (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 105, in check_rmatvec
assert_array_almost_equal([1,2,3,4]*M, dot([1,2,3,4], M.toarray()))
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2640, in __rmul__
return spmatrix.__rmul__(self, other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
216, in __rmul__
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_setelement (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 83, in check_setelement
a = self.datsp - self.datsp
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
187, in __sub__
neg_other = -other
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
220, in __neg__
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: Test whether the lu_solve command segfaults, as reported by Nils
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 270, in check_solve
B = A.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'zcsctocoo'
======================================================================
ERROR: Does the matrix's sum(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 44, in check_sum
assert_array_equal(self.dat.sum(), self.datsp.sum())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 396, in sum
return (o0 * (self * o1)).A.squeeze()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2625, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 309, in dot
result = self.matvec(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
330, in matvec
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_tocoo (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 185, in check_tocoo
a = self.datsp.tocoo()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
365, in tocoo
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_tocsc (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 189, in check_tocsc
a = self.datsp.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
======================================================================
ERROR: check_tocsr (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 197, in check_tocsr
assert_array_almost_equal(a.todense(), self.dat)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
358, in todense
return asmatrix(self.toarray())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1576, in toarray
func = getattr(sparsetools, self.ftype+'csctofull')
AttributeError: 'module' object has no attribute 'dcsctofull'
======================================================================
ERROR: check_transpose (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 202, in check_transpose
assert_array_equal(a.todense(), b)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
358, in todense
return asmatrix(self.toarray())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1019, in toarray
func = getattr(sparsetools, self.ftype+'csctofull')
AttributeError: 'module' object has no attribute 'dcsctofull'
======================================================================
ERROR: Tests whether a lil_matrix can be constructed from a
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 616, in check_lil_from_csr
assert_array_equal(C.A, D.A)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
225, in __getattr__
return self.toarray()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1576, in toarray
func = getattr(sparsetools, self.ftype+'csctofull')
AttributeError: 'module' object has no attribute 'dcsctofull'
======================================================================
ERROR: check_mult (scipy.tests.test_sparse.test_lil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\scipy\sparse\tests\test_sparse.py",
line 586, in check_mult
assert_array_equal(A * A.T, (B * B.T).todense())
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2625, in __mul__
return self.dot(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line 312, in dot
result = self.matmat(other)
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
323, in matmat
csc = self.tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
2679, in tocsc
return self.tocsr(nzmax).tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1573, in tocsc
return self.tocoo().tocsc()
File "C:\Python24\Lib\site-packages\scipy\sparse\sparse.py", line
1568, in tocoo
func = getattr(sparsetools, self.ftype+"csctocoo")
AttributeError: 'module' object has no attribute 'dcsctocoo'
----------------------------------------------------------------------
Ran 492 tests in 0.985s
FAILED (errors=75)
<unittest.TextTestRunner object at 0x019C1910>
What have I done wrong? I did not try to build Atlas/Blas/Lapack from
source but just down loaded the precomipled versions into
C:\BlasLapackLibs. My scipy and numpy svn folders are not on my PATH
or my PYTHONPATH. I had some trouble getting numpy's setup.py to find
the atlas, lapack, blas libs until I set an ATLAS environment
variable.
Oh, and the example site.cfg mentions libamd.a as well as umfpack. Do
I need the amd lib? I am running an amd processor under windows
(Athlon X2).
Thanks,
Ryan
More information about the SciPy-User
mailing list