Ottenere il seguente errore quando si tenta di installare Pandas (0.16.0), che è nel mio file requirements.txt, su istanza AWS Elastic Beanstalk EC2:'gcc' riuscita durante panda costruire su AWS Elastic Beanstalk
building 'pandas.msgpack' extension
gcc -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__LITTLE_ENDIAN__=1 -Ipandas/src/klib -Ipandas/src -I/opt/python/run/venv/local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pandas/msgpack.cpp -o build/temp.linux-x86_64-2.7/pandas/msgpack.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1
Sono in esecuzione su 64bit Amazon Linux 2015.03 v1.3.0 running Python 2.7
e ho già eseguito questo stesso errore su un'istanza di t1.micro, che è stata risolta quando si passa a un m3.medium, ma sto eseguendo un m3.xlarge quindi non può essere una memoria problema.
ho anche assicurato che gcc è installato come pacchetto in .ebextensions/00_gcc.config
:
packages:
yum:
gcc: []
gcc-c++: []
Nota che il pacchetto corrente è "python34-devel" –