On Thu, 8 Jun 2006 14:57:02 -0700 Gennan Chen <[EMAIL PROTECTED]> wrote:
> Hi! > > I just got an MacBook Pro and tried to install numpy+scipy on that. > I successfully installed ipython+matplotlib+python 2.4 through > darwinports. > Then I svn co a copy of numpy +scipy. Compilation (gcc 4.0.1 + > gfortran) seems working fine for numpy. After I installed it and run > numpy.test() in ipython, it failed. And the error is: > > In [4]: numpy.test() > Found 3 tests for numpy.lib.getlimits > Found 30 tests for numpy.core.numerictypes > Found 13 tests for numpy.core.umath > Found 3 tests for numpy.core.scalarmath > Found 8 tests for numpy.lib.arraysetops > Found 42 tests for numpy.lib.type_check > Found 95 tests for numpy.core.multiarray > Found 3 tests for numpy.dft.helper > Found 36 tests for numpy.core.ma > Found 2 tests for numpy.core.oldnumeric > Found 9 tests for numpy.lib.twodim_base > Found 9 tests for numpy.core.defmatrix > Found 1 tests for numpy.lib.ufunclike > Found 35 tests for numpy.lib.function_base > Found 1 tests for numpy.lib.polynomial > Found 6 tests for numpy.core.records > Found 19 tests for numpy.core.numeric > Found 5 tests for numpy.distutils.misc_util > Found 4 tests for numpy.lib.index_tricks > Found 46 tests for numpy.lib.shape_base > Found 0 tests for __main__ > ..............................................F......................... > ........................................................................ > ........................................................................ > ........................................................................ > ........................................................................ > .......... > ====================================================================== > FAIL: check_large_types (numpy.core.tests.test_scalarmath.test_power) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/ > test_scalarmath.py", line 42, in check_large_types > assert b == 6765201, "error with %r: got %r" % (t,b) > AssertionError: error with <type 'float128scalar'>: got 0.0 > > ---------------------------------------------------------------------- > Ran 370 tests in 0.510s > > FAILED (failures=1) > Out[4]: <unittest.TextTestRunner object at 0x1581fd0> > > > Anyone has any idea?? or Anyone ever successfully did that? It's new; something's missing in the new power code I added for the scalartypes. It'll get fixed when I get around to it :-) -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion