Aws Elastic Beanstalk - Python - Your Requirements.txt Is Invalid
Im deploying the a python server but im not able see what is going wrong. When I use eb deploy this error message appears. INFO: Environment update is starting.
Solution 1:
As YOU says, described in this answer, you need to install the dependencies:
$ sudo apt-get build-dep python-imaging
$ sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
Solution 2:
As you are using a Linux AMI in your Elastic Beanstalk environment you will have to use yum commands. You can install rpms through your config file in .ebextensions directory. I think that libjpeg should be enough.
packages:yum:libjpeg-turbo-devel: []
Reference: Customizing your EC2 container
There used to be a problem with installing libjpeg after Pillow is installed if I remember correctly. I suggest that you remove Pillow from your requirements.txt, deploy and then add libjpeg and Pillow again.
Post a Comment for "Aws Elastic Beanstalk - Python - Your Requirements.txt Is Invalid"