Running a small $5 developer server (Python3.5, Centos 7.1) with 512MB on Digital Ocean.
Installed NumPy and lapack lapack-devel blas blas-devel fine.
For pip install scipy I get the error below.
I can increase my droplet to 1 Gig but but prefer not to spend more than that. Any idea if 1 Gig would be enough (or if the installation issue is not related to memory at all..)
In file included from /usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0,
from /usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from scipy/sparse/sparsetools/sparsetools.h:5,
from scipy/sparse/sparsetools/csr.cxx:4:
/usr/local/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
----------------------------------------
Command "/usr/local/bin/python3.5 -c "import setuptools, tokenize;__file__='/tmp/pip-build-4m6ciex2/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-uvjh2gng-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-4m6ciex2/scipy
Copyright Notice:Content Author:「TomSjogren」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/33726905/installing-scipy-on-centos-7-digital-ocean