[SciPy-dev] warnings+errors(check_integer) with scipy.test() on scipy-0.5.1
sam n
samnemo at gmail.com
Thu Oct 12 23:41:22 EDT 2006
Hi All,
I just built and installed numpy-1.0rc2 and scipy-0.5.1 and encountered the
warnings & errors below (only get errors from scipy.test() , no problems
with numpy.test() ). If anyone knows how to fix these problems please let me
know. I already had LAPACK and BLAS installed. I also included diagnostic
information after the warnings & errors. Sorry if this email is too long.
Thanks for any help/suggestions.
Sam
>>> import scipy
>>> scipy.test()
Warning: FAILURE importing tests for <module 'scipy.linalg.lapack' from
'...ckages/scipy/linalg/lapack.pyc'>
/usr/arch/lib/python2.4/site-packages/scipy/linalg/basic.py:23: ImportError:
cannot import name calc_lwork (in ?)
Found 42 tests for scipy.lib.lapack
Warning: FAILURE importing tests for <module 'scipy.special.basic' from
'...ckages/scipy/special/basic.pyc'>
/usr/arch/lib/python2.4/site-packages/scipy/linalg/basic.py:23: ImportError:
cannot import name calc_lwork (in ?)
======================================================================
ERROR: check_integer (scipy.io.tests.test_array_import.test_read_array)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_array_import.py",
line 55, in check_integer
from scipy import stats
File "/usr/arch/lib/python2.4/site-packages/scipy/stats/__init__.py", line
7, in ?
from stats import *
File "/usr/arch/lib/python2.4/site-packages/scipy/stats/stats.py", line
191, in ?
import scipy.special as special
File "/usr/arch/lib/python2.4/site-packages/scipy/special/__init__.py",
line 10, in ?
import orthogonal
File "/usr/arch/lib/python2.4/site-packages/scipy/special/orthogonal.py",
line 67, in ?
from scipy.linalg import eig
File "/usr/arch/lib/python2.4/site-packages/scipy/linalg/__init__.py",
line 8, in ?
from basic import *
File "/usr/arch/lib/python2.4/site-packages/scipy/linalg/basic.py", line
23, in ?
from scipy.linalg import calc_lwork
ImportError: cannot import name calc_lwork
======================================================================
ERROR: check loadmat case cellnest
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 80, in cc
self._check_case(name, expected)
File "/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 75, in _check_case
self._check_level(k_label, expected, matdict[k])
File "/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 33, in _check_level
self._check_level(level_label, ev, actual[i])
File "/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 33, in _check_level
self._check_level(level_label, ev, actual[i])
File "/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 33, in _check_level
self._check_level(level_label, ev, actual[i])
File "/usr/arch/lib/python2.4/site-packages/scipy/io/tests/test_mio.py",
line 30, in _check_level
assert len(expected) == len(actual), "Different list lengths at %s" %
label
TypeError: len() of unsized object
----------------------------------------------------------------------
Ran 630 tests in 7.745s
FAILED (errors=2)
diagnostic information from : python -c 'from numpy.f2py.diagnose import
run; run()'
------
os.name='posix'
------
sys.platform='linux2'
------
sys.version:
2.4.1 (#3, May 9 2005, 14:40:40)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)]
------
sys.prefix:
/usr/arch
------
sys.path=':/usr/arch/lib/python24.zip:/usr/arch/lib/python2.4:/usr/arch/lib/python2.4/plat-linux2:/usr/arch/lib/python2.4/lib-tk:/usr/arch/lib/python2.4/lib-dynload:/usr/arch/lib/python2.4/site-packages
'
------
Failed to import Numeric: No module named Numeric
Failed to import numarray: No module named numarray
Found new numpy version '1.0rc2' in
/usr/arch/lib/python2.4/site-packages/numpy/__init__.pyc
Found f2py2e version '2_3296' in
/usr/arch/lib/python2.4/site-packages/numpy/f2py/f2py2e.pyc
Found numpy.distutils version '0.4.0' in
'/usr/arch/lib/python2.4/site-packages/numpy/distutils/__init__.pyc'
------
Importing numpy.distutils.fcompiler ... ok
------
Checking availability of supported Fortran compilers:
customize CompaqFCompiler
customize NoneFCompiler
customize AbsoftFCompiler
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable ifort
Could not locate executable efort
Could not locate executable efc
Could not locate executable ifort
Could not locate executable efort
Could not locate executable efc
customize IntelFCompiler
Could not locate executable gfortran
Could not locate executable f95
customize GnuFCompiler
customize SunFCompiler
customize NAGFCompiler
customize VastFCompiler
customize GnuFCompiler
customize IbmFCompiler
customize Gnu95FCompiler
customize IntelVisualFCompiler
customize G95FCompiler
customize IntelItaniumFCompiler
customize PGroupFCompiler
customize LaheyFCompiler
customize CompaqVisualFCompiler
customize MipsFCompiler
customize HPUXFCompiler
customize IntelItaniumVisualFCompiler
customize IntelEM64TFCompiler
List of available Fortran compilers:
--fcompiler=gnu GNU Fortran Compiler (3.2.3)
List of unavailable Fortran compilers:
--fcompiler=absoft Absoft Corp Fortran Compiler
--fcompiler=compaq Compaq Fortran Compiler
--fcompiler=compaqv DIGITAL|Compaq Visual Fortran Compiler
--fcompiler=g95 G95 Fortran Compiler
--fcompiler=gnu95 GNU 95 Fortran Compiler
--fcompiler=hpux HP Fortran 90 Compiler
--fcompiler=ibm IBM XL Fortran Compiler
--fcompiler=intel Intel Fortran Compiler for 32-bit apps
--fcompiler=intele Intel Fortran Compiler for Itanium apps
--fcompiler=intelem Intel Fortran Compiler for EM64T-based apps
--fcompiler=intelev Intel Visual Fortran Compiler for Itanium apps
--fcompiler=intelv Intel Visual Fortran Compiler for 32-bit apps
--fcompiler=lahey Lahey/Fujitsu Fortran 95 Compiler
--fcompiler=mips MIPSpro Fortran Compiler
--fcompiler=nag NAGWare Fortran 95 Compiler
--fcompiler=none Fake Fortran compiler
--fcompiler=pg Portland Group Fortran Compiler
--fcompiler=sun Sun|Forte Fortran 95 Compiler
--fcompiler=vast Pacific-Sierra Research Fortran 90 Compiler
List of unimplemented Fortran compilers:
--fcompiler=f Fortran Company/NAG F Compiler
For compiler details, run 'config_fc --verbose' setup command.
------
Importing numpy.distutils.cpuinfo ... ok
------
CPU information: getNCPUs has_mmx has_sse is_32bit is_Intel is_Pentium
is_PentiumII is_PentiumIII is_i686 ------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20061012/bdf093c3/attachment.html>
More information about the SciPy-Dev
mailing list