如何在Linux中为python 3安装poppler? [英] how to install poppler for python 3 in linux?
问题描述
是否可以在Linux中为python 3安装poppler?
Is there a way to install poppler for python 3 in linux?
我已经使用 apt-get install python-poppler
为python 2安装了它,但是我还没有找到如何为python 3安装它的方法.
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.
我正在使用可信任的Ubuntu 14.04
I am using Ubuntu 14.04 trusty
推荐答案
在Ubuntu 16.04上,您可以安装软件包 python3-poppler-qt4
或 python3-poppler-qt5
,例如:
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
在Xenial之前的版本中似乎不可用,并且 python3-poppler-qt4
可以通过这种方式安装在16.04 或
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.
这篇关于如何在Linux中为python 3安装poppler?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!