[SciPy-user] Failure during testing
Pearu Peterson
pearu at scipy.org
Sat May 24 16:05:23 EDT 2003
On Sun, 25 May 2003, Andrew Nesbit wrote:
> Thanks to Pearu's advice I have managed to get CVS SciPy built and
> installed on my Mac OS X (Jaguar) system.
>
> The problem is that most of my tests fail:
>
> Python 2.2 (#1, 07/14/02, 23:25:09)
> [GCC Apple cpp-precomp 6.14] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import scipy
> >>> scipy.test(level=1)
> No test suite found for scipy.__cvs_version__
> creating test suite for: scipy.common
> !! FAILURE building test for scipy.common
> /usr/local/apps/SciPy-CVS/lib/python/scipy/special/basic.py:5:
> ImportError: Failure linking new module (in ?)
Could you investigate what causes this ImportError?
The 5th line in special/basic.py is
from Numeric import *
Can you import Numeric directly?
> ======================================================================
> FAIL: check_complex (test_array_import.test_read_array)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/usr/local/apps/SciPy-CVS/lib/python/scipy/io/tests/test_array_import.py",
> line 39, in check_complex
> a = rand(13,4) + 1j*rand(13,4)
> File "/usr/local/apps/SciPy-CVS/lib/python/scipy/common.py", line
> 222, in rand
> return stats.random(args)
> File "/usr/local/apps/SciPy-CVS/lib/python/scipy_base/ppimport.py",
> line 211, in __getattr__
> module = self._ppimport_importer()
> File "/usr/local/apps/SciPy-CVS/lib/python/scipy_base/ppimport.py",
> line 183, in _ppimport_importer
> assert module is self,`module`
> AssertionError: <module 'scipy.stats' from
> '/usr/local/lib/python/scipy/stats/__init__.pyc'>
Please update your local SciPy CVS repository and reinstall scipy_core.
Hopefully the latest version of ppimport.py gives more information
on this failure.
Pearu
More information about the SciPy-User
mailing list