I need install python-pypdf
. So I tried to install it with:
sudo apt-get install python-pypdf
But I get this error:
E: Package 'python-pypdf' has no installation candidate
Why?
I need install python-pypdf
. So I tried to install it with:
sudo apt-get install python-pypdf
But I get this error:
E: Package 'python-pypdf' has no installation candidate
Why?
You can simply install it using pip
or pip3
if you're using Python3.
The command is:
pip install pyPdf # use pip3 with Python3
Ok, from your comments, you are not using Ubuntu, but Parrot Security OS.
Below command shows where is python-pypdf in my Ubuntu 16.04
$ apt show python-pypdf
Package: python-pypdf
Version: 1:1.13-3
Priority: optional
Section: universe/python
For Ubuntu, below command can add/enable some additional repository which has community maintained free software including python-pypdf
$ sudo apt-add-repository universe
$ sudo apt update
I think you should search/ask this question in Parrot Community.
Error: could not find a distribution template for Parrot/JollyRoger
– Молюска Моллюсков
Jul 01 '17 at 08:37
In Ubuntu 14.04, 16.04 and 16.10 open the terminal and type:
sudo apt-get install python-pypdf
Upstream Debian repositories no longer have the python-pypdf package in the latest stable version of Debian. In Ubuntu 17.04 (and later), open the terminal and type:
sudo apt install python-pypdf2 # Pure-Python library built as a PDF toolkit (Python 2)
apt-cache search pypdf
? – David Foerster Jul 01 '17 at 08:25python-pisa - PDF generator using HTML and CSS (Python module) python-pypdf2 - Pure-Python library built as a PDF toolkit (Python 2) python3-pypdf2 - Pure-Python library built as a PDF toolkit (Python 3)
– Молюска Моллюсков Jul 01 '17 at 08:37{}
button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks. – David Foerster Jul 01 '17 at 08:42