python - AWS Elastic Beanstalk throws error cc1plus doesn't exist -


i'm deploying simple django site aws elastic beanstalk, recent deployment failed following:

------------------------------------- /var/log/eb-activity.log ------------------------------------- caused by: requirement satisfied (use --upgrade upgrade): appdirs==1.4.3 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 1)) requirement satisfied (use --upgrade upgrade): beautifulsoup4==4.5.3 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 2)) collecting blessed==1.14.2 (from -r /opt/python/ondeck/app/requirements.txt (line 3))   downloading blessed-1.14.2-py2.py3-none-any.whl (64kb) collecting boto==2.46.1 (from -r /opt/python/ondeck/app/requirements.txt (line 4))   downloading boto-2.46.1-py2.py3-none-any.whl (1.4mb) collecting cement==2.8.2 (from -r /opt/python/ondeck/app/requirements.txt (line 5))   downloading cement-2.8.2.tar.gz (165kb) collecting colorama==0.3.7 (from -r /opt/python/ondeck/app/requirements.txt (line 6))   downloading colorama-0.3.7-py2.py3-none-any.whl requirement satisfied (use --upgrade upgrade): django==1.10.6 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 7)) collecting django-ses==0.8.2 (from -r /opt/python/ondeck/app/requirements.txt (line 8))   downloading django-ses-0.8.2.tar.gz collecting docopt==0.6.2 (from -r /opt/python/ondeck/app/requirements.txt (line 9))   downloading docopt-0.6.2.tar.gz collecting future==0.16.0 (from -r /opt/python/ondeck/app/requirements.txt (line 10))   downloading future-0.16.0.tar.gz (824kb) requirement satisfied (use --upgrade upgrade): html5lib==0.999 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 11)) requirement satisfied (use --upgrade upgrade): nameparser==0.4.0 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 12)) requirement satisfied (use --upgrade upgrade): packaging==16.8 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 13)) requirement satisfied (use --upgrade upgrade): pennsdk==1.5.3 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 14)) collecting probableparsing==0.0.1 (from -r /opt/python/ondeck/app/requirements.txt (line 15))   downloading probableparsing-0.0.1-py2.py3-none-any.whl collecting probablepeople==0.5.2 (from -r /opt/python/ondeck/app/requirements.txt (line 16))   downloading probablepeople-0.5.2.tar.gz (887kb) requirement satisfied (use --upgrade upgrade): pyparsing==2.2.0 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 17)) collecting python-crfsuite==0.9.1 (from -r /opt/python/ondeck/app/requirements.txt (line 18))   downloading python-crfsuite-0.9.1.tar.gz (400kb) collecting pyyaml==3.12 (from -r /opt/python/ondeck/app/requirements.txt (line 19))   downloading pyyaml-3.12.tar.gz (253kb) requirement satisfied (use --upgrade upgrade): requests==2.4.3 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 20)) requirement satisfied (use --upgrade upgrade): six==1.10.0 in /opt/python/run/venv/lib/python3.4/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 21)) collecting tabulate==0.7.5 (from -r /opt/python/ondeck/app/requirements.txt (line 22))   downloading tabulate-0.7.5.tar.gz collecting termcolor==1.1.0 (from -r /opt/python/ondeck/app/requirements.txt (line 23))   downloading termcolor-1.1.0.tar.gz collecting wcwidth==0.1.7 (from -r /opt/python/ondeck/app/requirements.txt (line 24))   downloading wcwidth-0.1.7-py2.py3-none-any.whl collecting websocket-client==0.40.0 (from -r /opt/python/ondeck/app/requirements.txt (line 25))   downloading websocket_client-0.40.0.tar.gz (196kb) collecting doublemetaphone (from probablepeople==0.5.2->-r /opt/python/ondeck/app/requirements.txt (line 16))   downloading doublemetaphone-0.1.tar.gz installing collected packages: wcwidth, blessed, boto, cement, colorama, django-ses, docopt, future, probableparsing, python-crfsuite, doublemetaphone, probablepeople, pyyaml, tabulate, termcolor, websocket-client   running setup.py install cement   running setup.py install django-ses   running setup.py install docopt   running setup.py install future   running setup.py install python-crfsuite     complete output command /opt/python/run/venv/bin/python3.4 -c "import setuptools, tokenize;__file__='/tmp/pip-build-snijpm6n/python-crfsuite/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-kgt8ascc-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/python/run/venv/include/site/python3.4/python-crfsuite:     running install     running build     running build_py     creating build     creating build/lib.linux-x86_64-3.4     creating build/lib.linux-x86_64-3.4/pycrfsuite     copying pycrfsuite/_dumpparser.py -> build/lib.linux-x86_64-3.4/pycrfsuite     copying pycrfsuite/__init__.py -> build/lib.linux-x86_64-3.4/pycrfsuite     copying pycrfsuite/_logparser.py -> build/lib.linux-x86_64-3.4/pycrfsuite     running build_ext     building 'pycrfsuite._pycrfsuite' extension     creating build/temp.linux-x86_64-3.4     creating build/temp.linux-x86_64-3.4/pycrfsuite     creating build/temp.linux-x86_64-3.4/crfsuite     creating build/temp.linux-x86_64-3.4/crfsuite/lib     creating build/temp.linux-x86_64-3.4/crfsuite/lib/crf     creating build/temp.linux-x86_64-3.4/crfsuite/lib/crf/src     creating build/temp.linux-x86_64-3.4/crfsuite/swig     creating build/temp.linux-x86_64-3.4/crfsuite/lib/cqdb     creating build/temp.linux-x86_64-3.4/crfsuite/lib/cqdb/src     creating build/temp.linux-x86_64-3.4/liblbfgs     creating build/temp.linux-x86_64-3.4/liblbfgs/lib     gcc -pthread -wno-unused-result -ddynamic_annotations_enabled=1 -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 -icrfsuite/include/ -icrfsuite/lib/cqdb/include -iliblbfgs/include -ipycrfsuite -i/usr/include/python3.4m -c pycrfsuite/_pycrfsuite.cpp -o build/temp.linux-x86_64-3.4/pycrfsuite/_pycrfsuite.o -std=c99     gcc: error trying exec 'cc1plus': execvp: no such file or directory     error: command 'gcc' failed exit status 1 

between deployment , last, appears installing 1 package, boto, installed number of other dependencies have prevented eb being able install packages requirements.txt

this current requirements.txt:

appdirs==1.4.3 beautifulsoup4==4.5.3 blessed==1.14.2 boto==2.46.1 cement==2.8.2 colorama==0.3.7 django==1.10.6 docopt==0.6.2 future==0.16.0 html5lib==0.999 nameparser==0.4.0 packaging==16.8 pennsdk==1.5.3 probableparsing==0.0.1 probablepeople==0.5.2 pyparsing==2.2.0 python-crfsuite==0.9.1 pyyaml==3.12 requests==2.4.3 six==1.10.0 tabulate==0.7.5 termcolor==1.1.0 wcwidth==0.1.7 websocket-client==0.40.0 

any appreciated


Comments