I am trying to deploy a flask application on Amazon Elastic Beanstalk. I am having a very head time getting it to install matplotlib. Suggestions like this one for how to solve the problem involve installing packages from ubuntu, which I cannot do for Elastic Beanstalk. I am trying to install matplotlib 2.0.0 and I get the following error:
* The following required packages can not be built:
* freetype, png