Problem with Installation of Scipy on Macbook
![](https://secure.gravatar.com/avatar/b8ac655007757eafd492a3c519f19d33.jpg?s=120&d=mm&r=g)
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. -- Regards, Manisha
![](https://secure.gravatar.com/avatar/3d3176cf99cae23d0ac119d1ea6c4d11.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/05727ab69d440f21fc847b08b9bbb760.jpg?s=120&d=mm&r=g)
Hi, I would recommend install via macports, I have had no issue that way -- View this message in context: http://old.nabble.com/Problem-with-Installation-of-Scipy-on-Macbook-tp335374... Sent from the Scipy-User mailing list archive at Nabble.com.
![](https://secure.gravatar.com/avatar/beb8f247a9f131d3eb137fda6bbd2795.jpg?s=120&d=mm&r=g)
I think just by following all the installment procedure you could easily get installed it. You have to just follow all the steps correctly. You should also take care of it that you shouldn't skip any step. -------------------------------------------------------------- Get the best http://therepairstop.com/ HTC glass replacement | http://therepairstop.com/ iMac Glass replacement -- View this message in context: http://old.nabble.com/Problem-with-Installation-of-Scipy-on-Macbook-tp335374... Sent from the Scipy-User mailing list archive at Nabble.com.
participants (4)
-
edwardsamery
-
manisha pujari
-
mdekauwe
-
Ralf Gommers