在Digital Ocean上运行一个带有512MB的小型5美元开发者服务器(Python3.5,Centos 7.1)。 安装NumPy和lapack lapack-devel blas blas-devel罚款。 对于pip install scipy,我收到以下错误。
我可以将我的液滴增加到1千兆但但不愿意花费更多。不知道1 Gig是否足够(或者如果安装问题与内存无关......)
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