【问题标题】:Elastic Beanstalk Matplotlib cannot build freetypeElastic Beanstalk Matplotlib 无法构建 freetype
【发布时间】:2017-07-29 22:57:26
【问题描述】:

我正在尝试在 Amazon Elastic Beanstalk 上部署一个烧瓶应用程序。我正忙着让它安装 matplotlib。像this one 这样的关于如何解决问题的建议涉及从 ubuntu 安装软件包,而我无法为 Elastic Beanstalk 做这些。我正在尝试安装 matplotlib 2.0.0,但出现以下错误:

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

【问题讨论】:

    标签: python amazon-web-services matplotlib amazon-elastic-beanstalk


    【解决方案1】:

    您可以使用packages 中所述的packages 密钥在您的EB 部署期间安装软件包。

    类似以下的方法可能会起作用:

    .ebextensions/01-install-freetype.config

    packages: 
      yum:
        freetype: []
        png: []
    

    虽然我的系统上已经安装了freetype...

    【讨论】:

      猜你喜欢
      • 2019-01-05
      • 1970-01-01
      • 2015-03-05
      • 2013-08-01
      • 2015-10-19
      • 1970-01-01
      • 2016-04-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多