Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install Poppler on Windows?

The most recent version of ScraperWiki depends on Poppler (or so the GitHub says). Unfortunately, it only specifies how to get it on macOS and Linux, not Windows.

A quick googling turned up nothing too promising. Does anyone know how to get Poppler on Windows for ScraperWiki?

like image 369
akkatracker Avatar asked Aug 22 '13 13:08

akkatracker


People also ask

How do I install poppler utils Windows?

0_x86\bin to your system PATH by doing the following: Click on the Windows start button, search for Edit the system environment variables , click on Environment Variables... , under System variables , look for and double-click on PATH , click on New , then add C:\Users\Program Files\poppler-0.68. 0_x86\bin , click OK .

What is poppler in python?

python-poppler is a Python binding to the poppler-cpp library. It allows to read, render, or modify PDF documents.


2 Answers

Other answers have linked to the correct download page for Windows users but do not specify how to install them for the uninitiated.

  1. Go to this page and download the binary of your choice. In this example we will download and use poppler-0.68.0_x86.

  2. Extract the archive file poppler-0.68.0_x86.7z into C:\Program Files. Thus, the directory structure should look something like this:

C:     └ Program Files         └ poppler-0.68.0_x86             └ bin             └ include             └ lib             └ share 
  1. Add C:\Program Files\poppler-0.68.0_x86\bin to your system PATH by doing the following: Click on the Windows start button, search for Edit the system environment variables, click on Environment Variables..., under System variables, look for and double-click on PATH, click on New, then add C:\Users\Program Files\poppler-0.68.0_x86\bin, click OK.

  2. If you are using a terminal to execute poppler (e.g. running pdf2image in command line), you may need to reopen your terminal for poppler to work.

  3. Done!

like image 56
user5305519 Avatar answered Sep 19 '22 03:09

user5305519


Poppler Windows binaries are available from ftp://ftp.gnome.org/Public/GNOME/binaries/win32/dependencies/ -- but note that those aren't quite up-to-date.

If you're looking for Python (2.7) bindings (as this question's tag suggests), I requested them in the past via this bug report. A couple of people apparently managed to produce something, but I haven't checked those out yet.

As for a more recent (python bindings unrelated) poppler Windows binaries Google result, see http://blog.alivate.com.au/poppler-windows/

Finally, there's the brand-new (and currently very frequently updated) PyGObject all-in-one installer (mainly aiming to provide PyGObject-instrospected Gtk+3 Python bindings etc. for Windows), so if that's what you're looking for, go to http://sourceforge.net/projects/pygobjectwin32/files/?source=navbar

like image 43
Bernhard Reiter Avatar answered Sep 17 '22 03:09

Bernhard Reiter