Hi, I am currently unable to install Scipy in my virtualenv. I have tried building via pip, wheels (as per the stack overflow suggestion), and the default package manager, but none of them have worked. My error message is as follows:
c++: internal compiler error: Killed (program cc1plus)
error: Command "c++ -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -D__STDC_FORMAT_MACROS=1 -I/usr/lib/python2.7/dist-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
I have the latest version of gcc as well as all of the scipy dependencies, so I am not sure what is causing this problem.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.