I used lxml module in my code to parse AWS response. Locally it works awesome, but when i deploy this to AWS elasticbean instance, it throws errors against lxml. I tried these solutions:
included lxml to requirements.txt and it failed.
I accessed AWS instance n tried to install it directly and it failed.
I put the below line in .ebextensions/02_python.config.
09_lxml: command: "wget http://lxml.de/files/lxml-3.3.4.tgz && tar -xzvf lxml-3.3.4.tgz && cd lxml-3.3.4 && /opt/python/run/venv/bin/python setup.py install"
#command: "echo 'hello'"
leader_only: true
It worked once on an instance, but on a new instance nothing is gonna work. Need your help please.