[SciPy-User] Problem with Installation of Scipy on Macbook

Ralf Gommers ralf.gommers@googlemail....
Tue Mar 20 17:06:04 CDT 2012


On Tue, Mar 20, 2012 at 10:26 AM, manisha pujari
<pujari.manisha@gmail.com>wrote:

> Hello everyone,
>
> This is the first time I am using scipy and I am having much trouble to
> just install it on my macbook. I am using Python 2.6 and numpy 1.6.0.
> I downloaded scipy0.9.0 tar.gz file  from the web link
> http://sourceforge.net/projects/scipy/files/scipy/ and tried to install
> it from the source.
> But on giving the command
>
> scipy-0.9.0$ python setup.py build
>
> it is always giving the following problem :
>
> 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 = ['-faltivec',
> '-I/System/Library/Frameworks/vecLib.framework/Headers']
>
> non-existing path in 'scipy/io': 'docs'
> lapack_opt_info:
>   FOUND:
>     extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
>     define_macros = [('NO_ATLAS_INFO', 3)]
>     extra_compile_args = ['-faltivec']
>
> umfpack_info:
>   libraries umfpack not found in
> /System/Library/Frameworks/Python.framework/Versions/2.6/lib
>   libraries umfpack not found in /usr/local/lib
>   libraries umfpack not found in /usr/lib
> /Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/system_info.py:463:
> 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 181, in <module>
>     setup_package()
>   File "setup.py", line 173, in setup_package
>     configuration=configuration )
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/core.py",
> line 152, in setup
>     config = configuration()
>   File "setup.py", line 122, in configuration
>     config.add_subpackage('scipy')
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 972, in add_subpackage
>     caller_level = 2)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 941, in get_subpackage
>     caller_level = caller_level + 1)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 878, 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.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 972, in add_subpackage
>     caller_level = 2)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 941, in get_subpackage
>     caller_level = caller_level + 1)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 878, in _get_configuration_from_setup_py
>     config = setup_module.configuration(*args)
>   File "scipy/special/setup.py", line 54, in configuration
>     extra_info=get_info("npymath")
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 2184, in get_info
>     pkg_info = get_pkg_info(pkgname, dirs)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/misc_util.py",
> line 2136, in get_pkg_info
>     return read_config(pkgname, dirs)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/npy_pkg_config.py",
> line 390, in read_config
>     v = _read_config_imp(pkg_to_filename(pkgname), dirs)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/npy_pkg_config.py",
> line 326, in _read_config_imp
>     meta, vars, sections, reqs = _read_config(filenames)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/npy_pkg_config.py",
> line 309, in _read_config
>     meta, vars, sections, reqs = parse_config(f, dirs)
>   File
> "/Library/Python/2.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/distutils/npy_pkg_config.py",
> line 281, 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.6/site-packages/numpy-1.6.0-py2.6-macosx-10.6-universal.egg/numpy/core/lib/npy-pkg-config/npymath.ini']
>
> I am unable to understand where and what exactly the problem is.
> Can anyone please help me? I will be really thankful for a response.


That doesn't look like a familiar error message to me. But before trying to
get to the root of that a simple question: why don't you just use a binary
installer? You can download dmg installers for python itself from
python.organd for numpy and scipy from the Sourceforge download sites.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120320/956df2ac/attachment.html 


More information about the SciPy-User mailing list