[SciPy-user] scipy not easy_install-able

Stian Soiland stian at soiland.no
Sun May 28 13:34:31 EDT 2006


I tried, naively perhaps, to install scipy using easy_install[1]:

: stain at sandra ~;sudo easy_install scipy
Searching for scipy
Reading http://www.python.org/pypi/scipy/
Reading http://www.scipy.org
Reading http://new.scipy.org/Wiki/Download
Best match: scipy 0.4.9
Downloading http://193.190.198.97/sourceforge/scipy/scipy-0.4.9.tar.gz
Processing scipy-0.4.9.tar.gz
Running scipy-0.4.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-Mjgb6D/scipy-0.4.9/egg-dist-tmp-sgJBNS
SandboxViolation:
open('/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/testing/info.py',
'U') {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.
(..)
  File "setup.py", line 50, in ?
  File "setup.py", line 23, in setup_package
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/__init__.py",
line 42, in ?
    __doc__ += pkgload.get_pkgdocs()
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/_import_tools.py",
line 319, in get_pkgdocs
    retstr = self._format_titles(titles) +\
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/_import_tools.py",
line 282, in _format_titles
    max_length = max(lengths)
ValueError: max() arg is an empty sequence

[1] http://peak.telecommunity.com/DevCenter/EasyInstall


I don't know quite why this things happens, if it is scipy, numpy or
easy_install's fault.  It would be nice to install via easy_install
instead of doing it manually. I am afraid I don't have time to look
further into the matters right now..

I am on: OS X 10.4, Python 2.4.1, numpy 0.9.4

-- 
Stian Søiland               Any society that would give up a little
Manchester, UK              liberty to gain a little security will
http://soiland.no/          deserve neither and lose both. [Franklin]
                     =/\=




More information about the SciPy-User mailing list