2024-04-26 00:23:31 发布
网友
我正在尝试在Amazon Elastic Beanstalk上部署一个flask应用程序。我在安装matplotlib上花了很长时间。像this one这样的关于如何解决这个问题的建议涉及到从ubuntu安装软件包,而对于elasticbeanstalk,我不能这样做。我正在尝试安装matplotlib 2.0.0,出现以下错误:
* The following required packages can not be built: * freetype, png
您可以使用packages键,如http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html#linux-packages所述,在EB部署期间安装包。你知道吗
packages
类似以下的操作可能会起作用:
.ebextensions/01安装-freetype.config文件
packages: yum: freetype: [] png: []
虽然在我的系统上,freetype已经安装。。。你知道吗
您可以使用
packages
键,如http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html#linux-packages所述,在EB部署期间安装包。你知道吗类似以下的操作可能会起作用:
.ebextensions/01安装-freetype.config文件
虽然在我的系统上,freetype已经安装。。。你知道吗
相关问题 更多 >
编程相关推荐