【发布时间】:2022-07-04 02:06:55
【问题描述】:
我在 AWS 上使用 UBUNTU 18.04 设置我的 EC2 实例,并在尝试运行此 gunicorn 命令时遇到以下错误gunicorn --bind 0.0.0.0:8000 zipherJobCards.wsgi:application
错误:
OSError: cannot load library 'pango-1.0-0': pango-1.0-0: cannot open shared object file: No such file or directory.
Additionally, ctypes.util.find_library() did not manage to locate a library called 'pango-1.0-0'
在我的基本目录和我的网络应用程序目录中安装 weasyprint 后,我遇到了这个错误。
有谁知道这个问题的原因以及如何解决它?
【问题讨论】:
标签: python django amazon-ec2 ubuntu-18.04 weasyprint