pythonamazon-web-servicesamazon-elastic-beanstalkpopplerpdf2image

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?


Solution

  • I finally found a solution here.

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