[Distutils] easy_install failed to install numpy

Huiqun Zhou hqzhou at nju.edu.cn
Sun May 19 10:12:21 CEST 2013


I'm trying to install numpy, but got the following error message.  What's wrong?

Huiqun Zhou

[root at dinosaur ~]# easy_install numpy
Searching for numpy
Reading http://pypi.python.org/simple/numpy/
Reading http://numpy.scipy.org
Reading http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103
Reading http://numeric.scipy.org
Reading http://www.numpy.org
Best match: numpy 1.7.1
Downloading http://pypi.python.org/packages/source/n/numpy/numpy-1.7.1.zip#md5=9a72db3cad7a6286c0d22ee43ad9bc6c
Processing numpy-1.7.1.zip
Running numpy-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-gYo5zx/numpy-1.7.1/egg-dist-tmp-t0XrdT
Running from numpy source directory.
error: SandboxViolation: open('/dev/null', 'w') {}

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.

More information about the Distutils-SIG mailing list