[SciPy-user] installation problems on Mac OS X
David M. Cooke
cookedm at physics.mcmaster.ca
Fri Jul 6 08:58:32 EDT 2007
On Jul 5, 2007, at 09:25 , Giovanni Samaey wrote:
> Hi all,
>
> I am trying to install scipy on my shiny new macbook:
> I followed instructions as on www.scipy.org/Installing_SciPy/
> Mac_OS_X/.
> Installation of vecLib was done when the computer shipped (I found a
> vecLib). The link to the vecLib on the instruction page is dead and
> I couldn't find a download on apple.com, so I don't know if that
> installation is complete, as the instructions ask.
vecLib ships with OS X, so you don't need to install it (vecLib
itself may be deprecated, I think it's suggested to use the
Accelerate framework, which includes vecLib as a subframework). I
think the page is wrong; it's part of the OS, not of the Developer
Tools.
> Installation goes smoothly, byt scipy.test() gives 2 errors. I tried
> both python 2.4.4 and python 2.5.1; no difference. I have the most
> recent gfortran and I use gcc 4.0. Scipy is taken from svn.
>
> ======================================================================
> FAIL: check_dot (scipy.lib.tests.test_blas.test_fblas1_simple)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/lib/blas/tests/test_blas.py", line 76,
> in check_dot
> assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 156, in
> assert_almost_equal
> assert round(abs(desired - actual),decimal) == 0, msg
> AssertionError:
> Items are not equal:
> ACTUAL: 3.4625784615075479e-37j
> DESIRED: (-9+2j)
>
> ======================================================================
> FAIL: check_dot (scipy.linalg.tests.test_blas.test_fblas1_simple)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/scipy/linalg/tests/test_blas.py", line 75, in
> check_dot
> assert_almost_equal(f([3j,-4,3-4j],[2,3,1]),-9+2j)
> File "/Library/Frameworks/Python.framework/Versions/2.4/lib/
> python2.4/site-packages/numpy/testing/utils.py", line 156, in
> assert_almost_equal
> assert round(abs(desired - actual),decimal) == 0, msg
> AssertionError:
> Items are not equal:
> ACTUAL: 3.4782945282523978e-37j
> DESIRED: (-9+2j)
>
> ----------------------------------------------------------------------
> Ran 1632 tests in 3.592s
>
> FAILED (failures=2)
Don't worry, I get these too. There's a bug there, but no one's been
bothered enough to find it. I doubt it'll impact you unless you call
those wrapped BLAS routines directly.
--
|>|\/|<
/------------------------------------------------------------------\
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca
More information about the SciPy-User
mailing list