I have just downloaded and installed the Windows version.
The install appeared to go smoothly but test_basic.py gave some errors,
is this what one should expect?
---------------------------------------------------------------------------------------------------------------------
>pythonw -u "test_basic.py"
!! No test file 'test_scimath.py' found for <module
'scipy.base.scimath' from '...ackages\\scipy\\base\\scimath.pyc'>
!! No test file 'test_umath.py' found for <module 'scipy.base.umath'
from '...-packages\\scipy\\base\\umath.pyd'>
Found 23 tests for scipy.base.function_base
!! No test file 'test_machar.py' found for <module
'scipy.base.machar' from '...packages\\scipy\\base\\machar.pyc'>
!! No test file 'test_ma.py' found for <module 'scipy.base.ma' from
'...ite-packages\\scipy\\base\\ma.pyc'>
!! No test file 'test_numerictypes.py' found for <module
'scipy.base.numerictypes' from '...es\\scipy\\base\\numerictypes.pyc'>
!! No test file 'test_getlimits.py' found for <module
'scipy.base.getlimits' from '...kages\\scipy\\base\\getlimits.pyc'>
Found 9 tests for scipy.base.twodim_base
!! No test file 'test__compiled_base.py' found for <module
'scipy.base._compiled_base' from '...\\scipy\\base\\_compiled_base.pyd'>
!! No test file 'test_info_scipy_base.py' found for <module
'scipy.base.info_scipy_base' from '...scipy\\base\\info_scipy_base.pyc'>
!! No test file 'test_base.py' found for <module 'scipy.base' from
'...ckages\\scipy\\base\\__init__.pyc'>
!! No test file 'test_convertcode.py' found for <module
'scipy.base.convertcode' from '...ges\\scipy\\base\\convertcode.pyc'>
!! No test file 'test_multiarray.py' found for <module
'scipy.base.multiarray' from '...ages\\scipy\\base\\multiarray.pyd'>
!! No test file 'test_matrix.py' found for <module
'scipy.base.matrix' from '...packages\\scipy\\base\\matrix.pyc'>
!! No test file 'test_oldnumeric.py' found for <module
'scipy.base.oldnumeric' from '...ages\\scipy\\base\\oldnumeric.pyc'>
Found 44 tests for scipy.base.shape_base
!! No test file 'test_numeric.py' found for <module
'scipy.base.numeric' from '...ackages\\scipy\\base\\numeric.pyc'>
!! No test file 'test_polynomial.py' found for <module
'scipy.base.polynomial' from '...ages\\scipy\\base\\polynomial.pyc'>
Found 42 tests for scipy.base.type_check
!! No test file 'test_arrayprint.py' found for <module
'scipy.base.arrayprint' from '...ages\\scipy\\base\\arrayprint.pyc'>
Found 4 tests for scipy.base.index_tricks
Found 0 tests for __main__
................................E.................................................E........E.E.E...........EEEEEE.E..E....
======================================================================
ERROR: check_simple
(scipy.base.shape_base.test_shape_base.test_apply_along_axis)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_shape_base.py",
line 14, in check_simple
assert_array_equal(apply_along_axis(len,0,a),len(a)*ones(shape(a)[1]))
File "C:\Python24\Lib\site-packages\scipy\base\shape_base.py", line
31, in apply_along_axis
res = func1d(arr[tuple(i)],*args)
IndexError: each subindex must be either a slice, an integer, Ellipsis,
or newaxis
======================================================================
ERROR: check_complex1 (scipy.base.type_check.test_type_check.test_isfinite)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 162, in check_complex1
assert_all(isfinite(array(1+1j)/0.) == 0)
ZeroDivisionError: complex division
======================================================================
ERROR: check_neginf_scalar
(scipy.base.type_check.test_type_check.test_isinf)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 176, in check_neginf_scalar
assert_all(isinf(array(-1.)/0.) == 1)
ZeroDivisionError: float division
======================================================================
ERROR: check_posinf_scalar
(scipy.base.type_check.test_type_check.test_isinf)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 172, in check_posinf_scalar
assert_all(isinf(array(1.,)/0.) == 1)
ZeroDivisionError: float division
======================================================================
ERROR: check_complex1 (scipy.base.type_check.test_type_check.test_isnan)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 142, in check_complex1
assert_all(isnan(array(0+0j)/0.) == 1)
ZeroDivisionError: complex division
======================================================================
ERROR: check_default_1
(scipy.base.type_check.test_type_check.test_mintypecode)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 18, in check_default_1
assert_equal(mintypecode(itype),'d')
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
30, in mintypecode
typecodes = [(type(t) is type('') and t) or asarray(t).dtypechar\
UnboundLocalError: local variable 'typecodes' referenced before assignment
======================================================================
ERROR: check_default_2
(scipy.base.type_check.test_type_check.test_mintypecode)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 26, in check_default_2
assert_equal(mintypecode(itype+'f'),'f')
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
30, in mintypecode
typecodes = [(type(t) is type('') and t) or asarray(t).dtypechar\
UnboundLocalError: local variable 'typecodes' referenced before assignment
======================================================================
ERROR: check_default_3
(scipy.base.type_check.test_type_check.test_mintypecode)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 50, in check_default_3
assert_equal(mintypecode('fdF'),'D')
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
30, in mintypecode
typecodes = [(type(t) is type('') and t) or asarray(t).dtypechar\
UnboundLocalError: local variable 'typecodes' referenced before assignment
======================================================================
ERROR: check_complex_bad
(scipy.base.type_check.test_type_check.test_nan_to_num)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 211, in check_complex_bad
v += array(0+1.j)/0.
ZeroDivisionError: complex division
======================================================================
ERROR: check_complex_bad2
(scipy.base.type_check.test_type_check.test_nan_to_num)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 217, in check_complex_bad2
v += array(-1+1.j)/0.
ZeroDivisionError: complex division
======================================================================
ERROR: check_complex_good
(scipy.base.type_check.test_type_check.test_nan_to_num)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 207, in check_complex_good
vals = nan_to_num(1+1j)
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
99, in nan_to_num
y = nan_to_num(x.real) + 1j * nan_to_num(x.imag)
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
106, in nan_to_num
y[are_nan] = 0
TypeError: object does not support item assignment
======================================================================
ERROR: check_integer (scipy.base.type_check.test_type_check.test_nan_to_num)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 204, in check_integer
vals = nan_to_num(1)
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
105, in nan_to_num
maxf, minf = _getmaxmin(y.dtype)
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
86, in _getmaxmin
f = getlimits.finfo(t)
File "C:\Python24\Lib\site-packages\scipy\base\getlimits.py", line 29,
in __init__
raise ValueError, "data type not inexact"
ValueError: data type not inexact
======================================================================
ERROR: check_basic
(scipy.base.type_check.test_type_check.test_real_if_close)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\scipy\base\tests\test_type_check.py",
line 230, in check_basic
b = real_if_close(a+1e-15j)
File "C:\Python24\Lib\site-packages\scipy\base\type_check.py", line
120, in real_if_close
tol = f.epsilon * tol
AttributeError: 'finfo' object has no attribute 'epsilon'
----------------------------------------------------------------------
Ran 122 tests in 0.521s
FAILED (errors=13)
>Exit code: -1073741819
-------------------------------------------------------------------------------------------------------------------
Colin W.