[Scipy-tickets] [SciPy] #1753: pip install fails on Mountain Lion

SciPy Trac scipy-tickets@scipy....
Thu Oct 25 18:52:22 CDT 2012


#1753: pip install fails on Mountain Lion
--------------------+-------------------------------------------------------
 Reporter:  hobbs   |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  0.11.0     
 Keywords:          |  
--------------------+-------------------------------------------------------
 Trying to install via pip is not working, even though it appears I have
 all the deps available:
 {{{
 brew install python umfpack gfortran
 sudo pip install numpy scipy
 }}}

 Everything works up until scipy, here is the output:

 {{{
 Downloading/unpacking scipy
   Running setup.py egg_info for package scipy
     Running from scipy source directory.
     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
 /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib
     amd_info:
       libraries amd not found in
 /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib
       FOUND:
         libraries = ['amd']
         library_dirs = ['/usr/local/lib']
         swig_opts = ['-I/usr/local/include']
         define_macros = [('SCIPY_AMD_H', None)]
         include_dirs = ['/usr/local/include']

       FOUND:
         libraries = ['umfpack', 'amd']
         library_dirs = ['/usr/local/lib']
         swig_opts = ['-I/usr/local/include', '-I/usr/local/include']
         define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]
         include_dirs = ['/usr/local/include']

     Traceback (most recent call last):
       File "<string>", line 16, in <module>
       File "/tmp/pip-build/scipy/setup.py", line 208, in <module>
         setup_package()
       File "/tmp/pip-build/scipy/setup.py", line 199, in setup_package
         configuration=configuration )
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/core.py", line 152, in setup
         config = configuration()
       File "/tmp/pip-build/scipy/setup.py", line 136, in configuration
         config.add_subpackage('scipy')
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage
         caller_level = 2)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 971, in get_subpackage
         caller_level = caller_level + 1)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 908, in
 _get_configuration_from_setup_py
         config = setup_module.configuration(*args)
       File "scipy/setup.py", line 19, in configuration
         config.add_subpackage('special')
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage
         caller_level = 2)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 971, in get_subpackage
         caller_level = caller_level + 1)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 908, in
 _get_configuration_from_setup_py
         config = setup_module.configuration(*args)
       File "/private/tmp/pip-build/scipy/scipy/special/setup.py", line 54,
 in configuration
         extra_info=get_info("npymath")
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 2220, in get_info
         pkg_info = get_pkg_info(pkgname, dirs)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 2172, in get_pkg_info
         return read_config(pkgname, dirs)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/npy_pkg_config.py", line 390, in read_config
         v = _read_config_imp(pkg_to_filename(pkgname), dirs)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/npy_pkg_config.py", line 326, in _read_config_imp
         meta, vars, sections, reqs = _read_config(filenames)
       File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/npy_pkg_config.py", line 309, in _read_config
         meta, vars, sections, reqs = parse_config(f, dirs)
       File "/usr/local/lib/python2.7/site-
 packages/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)
 ['/usr/local/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-
 config/npymath.ini']
     Complete output from command python setup.py egg_info:
     Running from scipy source directory.

 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
 /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib

 amd_info:

   libraries amd not found in
 /usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib

   FOUND:

     libraries = ['amd']

     library_dirs = ['/usr/local/lib']

     swig_opts = ['-I/usr/local/include']

     define_macros = [('SCIPY_AMD_H', None)]

     include_dirs = ['/usr/local/include']



   FOUND:

     libraries = ['umfpack', 'amd']

     library_dirs = ['/usr/local/lib']

     swig_opts = ['-I/usr/local/include', '-I/usr/local/include']

     define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]

     include_dirs = ['/usr/local/include']



 Traceback (most recent call last):

   File "<string>", line 16, in <module>

   File "/tmp/pip-build/scipy/setup.py", line 208, in <module>

     setup_package()

   File "/tmp/pip-build/scipy/setup.py", line 199, in setup_package

     configuration=configuration )

   File "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py",
 line 152, in setup

     config = configuration()

   File "/tmp/pip-build/scipy/setup.py", line 136, in configuration

     config.add_subpackage('scipy')

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage

     caller_level = 2)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 971, in get_subpackage

     caller_level = caller_level + 1)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 908, in
 _get_configuration_from_setup_py

     config = setup_module.configuration(*args)

   File "scipy/setup.py", line 19, in configuration

     config.add_subpackage('special')

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 1002, in add_subpackage

     caller_level = 2)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 971, in get_subpackage

     caller_level = caller_level + 1)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 908, in
 _get_configuration_from_setup_py

     config = setup_module.configuration(*args)

   File "/private/tmp/pip-build/scipy/scipy/special/setup.py", line 54, in
 configuration

     extra_info=get_info("npymath")

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 2220, in get_info

     pkg_info = get_pkg_info(pkgname, dirs)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/misc_util.py", line 2172, in get_pkg_info

     return read_config(pkgname, dirs)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/npy_pkg_config.py", line 390, in read_config

     v = _read_config_imp(pkg_to_filename(pkgname), dirs)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/npy_pkg_config.py", line 326, in _read_config_imp

     meta, vars, sections, reqs = _read_config(filenames)

   File "/usr/local/lib/python2.7/site-
 packages/numpy/distutils/npy_pkg_config.py", line 309, in _read_config

     meta, vars, sections, reqs = parse_config(f, dirs)

   File "/usr/local/lib/python2.7/site-
 packages/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)
 ['/usr/local/lib/python2.7/site-packages/numpy/core/lib/npy-pkg-
 config/npymath.ini']

 ----------------------------------------
 Command python setup.py egg_info failed with error code 1 in /tmp/pip-
 build/scipy
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1753>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list