[SciPy-dev] Build error for scipy

Far McKon farmckon@gmail....
Thu Feb 18 13:32:54 CST 2010


Hey,
I'm working on a MacBookPro, and trying to get scipy an numpy happy. I
am working from instructions at :
http://www.scipy.org/Installing_SciPy/Mac_OS_X

I just 'setup.py' built and installed numpy, no problems.

When try to build scipy via 'sudo setup.py build" I get the error
stream below.   I checked, and indeed, the file 'npymath.ini' does not
exist on my machine.

Help? What went wrong? Do I have to do some werid comfig change and
rebuild numpy?

thanks in advance for any help,
- Far McKon

== Error Stream =====
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
  libraries umfpack not found in /sw/lib
/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/system_info.py:452:
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 "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/core.py",
line 152, in setup
    config = configuration()
  File "setup.py", line 118, in configuration
    config.add_subpackage('scipy')
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 957, in add_subpackage
    caller_level = 2)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 926, in get_subpackage
    caller_level = caller_level + 1)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 863, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/setup.py", line 20, in configuration
    config.add_subpackage('special')
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 957, in add_subpackage
    caller_level = 2)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 926, in get_subpackage
    caller_level = caller_level + 1)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 863, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy/special/setup.py", line 45, in configuration
    extra_info=get_info("npymath")
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 2068, in get_info
    pkg_info = get_pkg_info(pkgname, dirs)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/misc_util.py",
line 2020, in get_pkg_info
    return read_config(pkgname, dirs)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/npy_pkg_config.py",
line 343, in read_config
    v = _read_config_imp(pkg_to_filename(pkgname), dirs)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/npy_pkg_config.py",
line 317, in _read_config_imp
    meta, vars, sections, reqs = _read_config(filenames)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/npy_pkg_config.py",
line 301, in _read_config
    meta, vars, sections, reqs = parse_config(f, dirs)
  File "/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/distutils/npy_pkg_config.py",
line 273, in parse_config
    raise PkgNotFound("Could not find file(s) %s" % str(filenames))
numpy.distutils.npy_pkg_config.PkgNotFound: Could not find file(s)
['/Library/Python/2.5/site-packages/numpy-1.4.0-py2.5-macosx-10.5-i386.egg/numpy/core/lib/npy-pkg-config/npymath.ini']


More information about the SciPy-Dev mailing list