Python 在centos 7 Digital Ocean上安装Scipy

Python 在centos 7 Digital Ocean上安装Scipy,python,numpy,centos,scipy,digital-ocean,Python,Numpy,Centos,Scipy,Digital Ocean,在Digital Ocean上运行一个5美元的小型开发服务器(Python3.5,Centos 7.1),容量为512MB。 安装NumPy和lapack lapack devel blas blas devel fine。 对于pip安装scipy,我得到以下错误 我可以把我的零花钱增加到1吉格,但我不愿意花更多的钱。是否知道1 Gig是否足够(或者安装问题与内存无关……) 在/usr/local/lib/python3.5/site packages/numpy/core/include/n

在Digital Ocean上运行一个5美元的小型开发服务器(Python3.5,Centos 7.1),容量为512MB。 安装NumPy和lapack lapack devel blas blas devel fine。 对于pip安装scipy,我得到以下错误

我可以把我的零花钱增加到1吉格,但我不愿意花更多的钱。是否知道1 Gig是否足够(或者安装问题与内存无关……)

在/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,
从scipy/sparse/sparsetools/sparsetools.h:5,
来自scipy/sparse/sparsetools/csr.cxx:4:
/usr/local/lib/python3.5/site packages/numpy/core/include/numpy/npy_1_7_已弃用_api.h:15:2:warning:#warning“使用弃用的numpy api,通过“#定义npy_NO_已弃用_api_1_7_api版本”[-Wcpp]禁用它
#警告“使用不推荐的NumPy API,请通过以下方式禁用它”\
^
g++:内部编译器错误:已终止(程序cc1plus)
请提交完整的bug报告,
如果合适,使用预处理源。
有关说明,请参阅。
----------------------------------------
命令“/usr/local/bin/python3.5-c”导入setuptools,标记化__文件_uu='/tmp/pip-build-4m6ciex2/scipy/setup.py';exec(compile(getattr(tokenize,'open',open)('uuuu file,'\n'),'uuuu file,'exec'))“install--record/tmp/pip-uvjh2ng-record/install-record.txt--外部管理的单一版本--compile”失败,错误代码为/tmp/pip-build-4m6ciex2/scipy中的1

将交换添加到机器中?我添加了,但没有帮助。Digital Ocean是否允许您将实例缩小或将映像启动到较小的实例中?:-)是的,但如果理解正确,就不容易了……您是否尝试过使用yum安装二进制numpy/scipy?
 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