<p dir="auto">Platform: win32, python 2.6 binary installer from python.org, numpy binary installer of versions given, mingw32 compiler (specified in distutils.cfg)</p>
<p dir="auto">"easy_install ffnet" works fine with numpy 1.6.2; with numpy 1.7.0, it raises a SandboxViolation:</p>
<blockquote>
<p dir="auto">Wrote C/API module "_pikaia" to file "build\src.win32-2.6\ffnet\fortran_pikaiamodule.c"<br>
Fortran 77 wrappers are saved to "build\src.win32-2.6\ffnet\fortran_pikaia-f2pywrappers.f"<br>
error: Setup script exited with error: SandboxViolation: open('C:\Python26\lib<br>
s\libmsvcr90.def', 'w') {}</p>
</blockquote>
<p dir="auto">I know distribution/setup tools are a little flavour-of-the-month, but I haven't seen a call that numpy.distutils is incompatible with easy_install now (ffnet still recommends easy_install).</p>
<p dir="auto">I didn't see this error reported, apologies if it is a duplicate -- my current numpy is 1.6.2.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ sudo easy_install --upgrade 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&amp;package_id=175103
Reading http://www.numpy.org
Reading http://sourceforge.net/projects/numpy/files/NumPy/
Reading http://numeric.scipy.org
Best match: numpy 1.7.0
Downloading http://pypi.python.org/packages/source/n/numpy/numpy-1.7.0.zip#md5=ca27913c59393940e880fab420f985b4
Processing numpy-1.7.0.zip
Running numpy-1.7.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vw2DNu/numpy-1.7.0/egg-dist-tmp-gJGWkL
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."><pre class="notranslate"><code class="notranslate">$ sudo easy_install --upgrade 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&amp;package_id=175103
Reading http://www.numpy.org
Reading http://sourceforge.net/projects/numpy/files/NumPy/
Reading http://numeric.scipy.org
Best match: numpy 1.7.0
Downloading http://pypi.python.org/packages/source/n/numpy/numpy-1.7.0.zip#md5=ca27913c59393940e880fab420f985b4
Processing numpy-1.7.0.zip
Running numpy-1.7.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vw2DNu/numpy-1.7.0/egg-dist-tmp-gJGWkL
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.
</code></pre></div>