Elastic Beanstalk Matplotlib无法生成freetyp

2024-04-26 00:23:31 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试在Amazon Elastic Beanstalk上部署一个flask应用程序。我在安装matplotlib上花了很长时间。像this one这样的关于如何解决这个问题的建议涉及到从ubuntu安装软件包,而对于elasticbeanstalk,我不能这样做。我正在尝试安装matplotlib 2.0.0,出现以下错误:

* The following required packages can not be built:
* freetype, png

Tags: the应用程序flaskamazonmatplotlibubuntu部署错误