[Answered ]-Django Pillow install on Amazon EC2

2👍

For anyone with this issue look at :

https://www.cocept.io/blog/development/using-pillow-on-amazon-elastic-beanstalk/

Basically your going to create a 01-flask.config file that will hold what packages you need to install in linux server (using yum) to install your dependencies in requirements.txt

to install pillow on amazon ec2 i put

packages:
    yum:
        libjpeg-turbo-devel: []
        libpng-devel: []

in the 01-flask.config as it has the jpeg codecs

Leave a comment