I can not use the optimization package from scipy, here is the errors I get when I try to import scipy.optimize.
In Python 3: ImportError: /usr/local/lib/python3.5/dist-packages/scipy/sparse/_csparsetools.cpython-35m-x86_64-linux-gnu.so: failed to map segment from shared object: Cannot allocate memory
Python 2: ImportError: /usr/local/lib/python2.7/dist-packages/scipy/special/_ufuncs_cxx.so: failed to map segment from shared object: Cannot allocate memory
I can use this package on my computer with Python 3.5.2 and SciPy 0.18.1.
I believe the memory you are limited to are plenty for loading scipy.optimize. Maybe it is some permission issues?
The binary size is only 2MB. 2.0M /usr/local/lib/python3.5/dist-packages/scipy/sparse/_csparsetools.cpython-35m-x86_64-linux-gnu.so
Does CG know about this? Do they have an official position? (I can’t tell if this is a bug, or a purposeful limitation.) Scipy would be nice for multi-agent competitions since deciding where to send resources can be thought of as a linear programming problem.
It will actually be fixed soon. I went to the devs, and apparently they were already on it. It was blocked a long time by some architecture limitation.