scipy安装问题遇到以下问题不能继续【结贴】创建了1G的交换分区搞定了
回1楼dongshan8的帖子
root直接源码安装:
wget ***://jaist.dl.sourceforge.net/project/scipy/scipy/0.16.0/scipy-0.16.0.tar.gz
tar xzvf scipy-0.16.0.tar.gz
cd scipy-0.16.0
python setup.py install
也是报同样的错误,是不是版本问题
/usr/local/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/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'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See for instructions.
In file included from /usr/local/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/ndarraytypes.h:1804,
from /usr/local/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/core/include/numpy/ndarrayobject.h:17,
from scipy/sparse/sparsetools/sparsetools.h:5,
from scipy/sparse/sparsetools/bsr.cxx:4:
/usr/local/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/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'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See for instructions.
error: Command 'g++ -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -D__STDC_FORMAT_MACROS=1 -Iscipy/sparse/sparsetools -I/usr/local/lib/python2.7/site-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/local/include/python2.7 -c scipy/sparse/sparsetools/bsr.cxx -o build/temp.linux-x86_64-2.7/scipy/sparse/sparsetools/bsr.o' failed with exit status 1
-------------------------
回4楼dongshan8的帖子
Linux 2.6.32-220.23.2.al.ali1.1.alios6.x86_64
-------------------------
Rescipy安装问题遇到以下问题不能继续
创建了1G的交换分区搞定了
赞0
踩0