简体   繁体   中英

How to install poppler and setup pdf2image on elastic beanstalk

I want to convert PDF to jpeg on my elastic beanstalk python application.

I found that pdf2image and poppler can perform the conversion. I run the python application on local successfully.

However, for using pdf2image and poppler, I need to install poppler and change the path in pdf2image.py. Is it possible to perform these operation on elastic beanstalk?

I installed poppler by "$ yum install poppler-utils"

Installed: poppler-utils.x86_64 0:0.26.5-43.amzn2

I need the path of the poppler. How can I find it?

所有 poppler 工具,例如pdfimages都将在

/usr/bin

I finally found a solution here .

Using $ sudo find / -name <insert main file name here> to find poppler

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM