【发布时间】:2019-02-18 00:40:15
【问题描述】:
我正在尝试在我的 Heroku 服务器上安装 poppler,因为我使用 pdf2image 作为 python 包。但是,我不能像在 Mac 上那样只运行 brew install poppler。
我试图从互联网上添加一些heroku buildpacks,但没有运气。每当 pdf2image 运行时,我都会收到此错误。
pdf2image.exceptions.PDFInfoNotInstalledError: Unable to get page count. Is poppler installed and in PATH?
我可以在命令行上做些什么来安装 poppler,同时保持 heroku/python 作为我的 buildpack?
【问题讨论】: