[SciPy-User] scipy install on Mac

Ralf Gommers ralf.gommers@googlemail....
Fri Jun 8 15:45:37 CDT 2012


On Thu, Jun 7, 2012 at 5:59 PM, Irina Nudelman <irina.nudelman@gmail.com>wrote:

> Hello,
>
> I have trouble installing Scipy on my Mac. I downloaded this:
> scipy-0.10.1-py2.6-python.org-macosx10.3.dmg and clicked and tried to
> install, but it told me it needs python 2.6. However, that's the version I
> have already. When I do python, I see:
>
> Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
> [GCC 4.2.1 (Apple Inc. build 5646)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>
> Can you help me figure out how to install it?
>
> Also, is it possible to install it with easy_install? It didn't work when
> I tried, giving me:
>
> non-existing path in
> '/private/var/folders/RO/ROU+Y3JnHwiY4x+4HGSFPk+++TI/-Tmp-/easy_install-6RBzym/scipy-0.10.1/scipy/io':
> 'docs'
> /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/system_info.py:414:
> 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__)
> Traceback (most recent call last):
>   File "/usr/bin/easy_install-2.6", line 10, in <module>
>     load_entry_point('setuptools==0.6c9', 'console_scripts',
> 'easy_install')()
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 1671, in main
>     with_ei_usage(lambda:
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 1659, in with_ei_usage
>     return f()
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 1675, in <lambda>
>     distclass=DistributionWithoutHelpCommands, **kw
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py",
> line 152, in setup
>     dist.run_commands()
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
> line 975, in run_commands
>     self.run_command(cmd)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py",
> line 995, in run_command
>     cmd_obj.run()
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 211, in run
>     self.easy_install(spec, not self.no_deps)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 446, in easy_install
>     return self.install_item(spec, dist.location, tmpdir, deps)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 476, in install_item
>     dists = self.install_eggs(spec, download, tmpdir)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 655, in install_eggs
>     return self.build_and_install(setup_script, setup_base)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 930, in build_and_install
>     self.run_setup(setup_script, setup_base, args)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/command/easy_install.py",
> line 919, in run_setup
>     run_setup(setup_script, args)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/sandbox.py",
> line 27, in run_setup
>     lambda: execfile(
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/sandbox.py",
> line 63, in run
>     return func()
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/setuptools/sandbox.py",
> line 29, in <lambda>
>     {'__file__':setup_script, '__name__':'__main__'}
>   File "setup.py", line 196, in <module>
>   File "setup.py", line 187, in setup_package
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/core.py",
> line 150, in setup
>     config = configuration()
>   File "setup.py", line 138, in configuration
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/misc_util.py",
> line 851, in add_subpackage
>     caller_level = 2)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/misc_util.py",
> line 834, in get_subpackage
>     caller_level = caller_level + 1)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/misc_util.py",
> line 781, in _get_configuration_from_setup_py
>     config = setup_module.configuration(*args)
>   File "scipy/setup.py", line 20, in configuration
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/misc_util.py",
> line 851, in add_subpackage
>     caller_level = 2)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/misc_util.py",
> line 834, in get_subpackage
>     caller_level = caller_level + 1)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/distutils/misc_util.py",
> line 766, in _get_configuration_from_setup_py
>     ('.py', 'U', 1))
>   File
> "/private/var/folders/RO/ROU+Y3JnHwiY4x+4HGSFPk+++TI/-Tmp-/easy_install-6RBzym/scipy-0.10.1/scipy/special/setup.py",
> line 14, in <module>
> ValueError: numpy >= 1.4 is required (detected 1.2.1 from
> /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/numpy/__init__.pyc)
>

You're again using your system Python here, not the one from python.org.
The former resides in /System, the latter in /Frameworks. You probably have
to install setuptools for your new Python first, which gives you an
easy_install that works with it.

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


More information about the SciPy-User mailing list