[SciPy-User] SciPy installation problems

Gaston Fiore gaston.fiore@gmail....
Thu Nov 5 12:37:13 CST 2009


Hello,

I'm trying to install scipy from the SVN repository but I'm getting an
error. I've also discovered that numpy doesn't pass the built-in unit
tests, although it did seem to install without problems. Below is all
the information that I think it's needed to determine the problem and
its solution. Is it the fact that UMFPACK is missing?

Thanks a lot,

-Gaston


gbrain2:~ gafiore$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L30


gbrain2:~ gafiore$ gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


gbrain2:~ gafiore$ gfortran --version
GNU Fortran (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.


GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING


>>> import numpy
>>> numpy.test('1','10')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/__init__.py",
line 88, in test
    return NumpyTest().testall(level, verbosity)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/testing/numpytest.py",
line 576, in testall
    for mthname in self._get_method_names(obj,abs(level)):
TypeError: bad operand type for abs(): 'str'


dhcp-0011377089-64-8f:scipy gafiore$ python setup.py build
Warning: No configuration returned, assuming unavailable.
blas_opt_info:
  FOUND:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    define_macros = [('NO_ATLAS_INFO', 3)]
    extra_compile_args = ['-msse3',
'-I/System/Library/Frameworks/vecLib.framework/Headers']

lapack_opt_info:
  FOUND:
    extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
    define_macros = [('NO_ATLAS_INFO', 3)]
    extra_compile_args = ['-msse3']

umfpack_info:
  libraries umfpack not found in
/System/Library/Frameworks/Python.framework/Versions/2.5/lib
  libraries umfpack not found in /usr/local/lib
  libraries umfpack not found in /usr/lib
  libraries umfpack not found in /opt/local/lib
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/system_info.py:401:
UserWarning:
    UMFPACK sparse solver (http://www.cise.ufl.edu/research/sparse/umfpack/)
    not found. Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [umfpack]) or by setting
    the UMFPACK environment variable.
  warnings.warn(self.notfounderror.__doc__)
  NOT AVAILABLE

Traceback (most recent call last):
  File "setup.py", line 160, in <module>
    setup_package()
  File "setup.py", line 152, in setup_package
    configuration=configuration )
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/core.py",
line 144, in setup
    config = configuration()
  File "setup.py", line 118, in configuration
    config.add_subpackage('scipy')
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/misc_util.py",
line 765, in add_subpackage
    caller_level = 2)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/misc_util.py",
line 748, in get_subpackage
    caller_level = caller_level + 1)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/misc_util.py",
line 695, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "./scipy/setup.py", line 20, in configuration
    config.add_subpackage('special')
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/misc_util.py",
line 765, in add_subpackage
    caller_level = 2)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/misc_util.py",
line 748, in get_subpackage
    caller_level = caller_level + 1)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy/distutils/misc_util.py",
line 680, in _get_configuration_from_setup_py
    ('.py', 'U', 1))
  File "scipy/special/setup.py", line 7, in <module>
    from numpy.distutils.misc_util import get_numpy_include_dirs, get_info
ImportError: cannot import name get_info


More information about the SciPy-User mailing list