我在aws微实例上只有512 MB内存的pip install scipy时遇到了问题。 已经安装了lapack-devel,blas-devel和numpy。 有人说安装scipy时内存太小而无法构建c ++。 如果有人成功或有类似二进制scipy安装图像,请伸出援手。
图像: Linux ip-172-31-16-186 3.4.43-43.43.amzn1.x86_64#1 SMP Mon 5月6日18:04:41 UTC 2013 x86_64 x86_64 x86_64 GNU / Linux
上次建筑日志:
scipy/sparse/sparsetools/csr_wrap.cxx: In function ‘void init_csr()’:
scipy/sparse/sparsetools/csr_wrap.cxx:73303:21: warning: variable ‘md’ set but not used [-
Wunused-but-set-variable]
{standard input}: Assembler messages:
{standard input}:115706: Warning: end of file not at end of a line; newline inserted
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.
error: Command "g++ -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 - fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer- size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -D__STDC_FORMAT_MACROS=1 -I/home/ec2-user/ env/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c scipy/sparse/sparsetools/ csr_wrap.cxx -o build/temp.linux-x86_64-2.7/scipy/sparse/sparsetools/csr_wrap.o" failed with exit status 4