You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: test suite for <module 'test_array_from_pyobj' from 'numpy_git/build/testenv/lib/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.pyc'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/usr/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/usr/lib/python2.7/site-packages/nose/util.py", line 470, in try_run
return func()
File "numpy_git/build/testenv/lib/python2.7/site-packages/numpy/f2py/tests/test_array_from_pyobj.py", line 39, in setup
'test_array_from_pyobj_ext')
File "numpy_git/build/testenv/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 74, in wrapper
memo[key] = func(*a, **kw)
File "numpy_git/build/testenv/lib/python2.7/site-packages/numpy/f2py/tests/util.py", line 300, in build_module_distutils
__import__(module_name)
ImportError: /tmp/tmpGQA3uV/test_array_from_pyobj_ext.so: failed to map segment from shared object: Operation not permitted
----------------------------------------------------------------------
Ran 4944 tests in 33.409s
FAILED (KNOWNFAIL=5, SKIP=6, errors=1)
Building, see build.log...
Build OK
Running unit tests for numpy
NumPy version 1.8.1
NumPy is installed in numpy_git/build/testenv/lib/python2.7/site-packages/numpy
Python version 2.7.6 (default, Jun 1 2014, 03:20:25) [GCC 4.6.3]
nose version 1.3.3
Activity
pv commentedon Jul 10, 2014
This is probably only due to /tmp being mounted as noexec or similar, which prevents the test suite from running test programs from there.
To work around, set TEMP or TMPDIR environment variables to an executable location
braindevices commentedon Jul 12, 2014
@pv Thanks!
after set the TMPDIR, it works!