how to install poppler for python 3 in linux?
Asked Answered
I

1

4

Is there a way to install poppler for python 3 in linux?

I have used apt-get install python-poppler to install it for python 2, but I haven't found how to do it for python 3.

I am using Ubuntu 14.04 trusty

Inject answered 16/9, 2016 at 0:56 Comment(5)
Which Linux distribution are you using?Morphinism
I have Ubuntu 14.04 trustyInject
Would you be fine with using pip for installation?Morphinism
I would love to use pip (pip3?) for installationInject
I ran into a problem while trying to use pip to install though. I will write an answer later if I can figure out how to solve it.Morphinism
M
3

On Ubuntu 16.04 you can install the package python3-poppler-qt4 or python3-poppler-qt5, e.g.,:

sudo apt-get install python3-poppler-qt4

python3-poppler-qt5 does not appear to be available on releases prior to Xenial, and python3-poppler-qt4 can be installed this way on 16.04 or 15.10, but not earlier.

Marasmus answered 16/9, 2016 at 2:30 Comment(2)
thanks for your answer. I have Ubuntu 14.04 trusty. So apparently this solution doesn't work for me.Inject
@PabloGuerrero This is why you should always specify in your question what Linux distribution you are using.Morphinism

© 2022 - 2024 — McMap. All rights reserved.