I can not install the pyPDF package. No distros for pyPdf

I am trying to install this package ...

$ pip search pyPdf     
PyPDFLite                 - Simple PDF Writer.
pypdfocr                  - Converts a scanned PDF into an OCR'ed pdf using Tesseract-OCR and Ghostscript
pyPdf                     - PDF toolkit
PyPDF2                    - PDF toolkit
pyjon.reports             - Pyjon.Reports is a module bridging z3c.rml, genshi and pypdf together to provide a simple mean of creating templated pdf documents in python.
pypdf2xml                 - A reimplementation of pdftoxml in Python, using pdfMiner. Handles unicode characters better.
pypdflib                  - Pango Cairo based Python PDF Library
pypdf2table               - PDF table extraction tool

And I start the package installation

$ pip install pyPdf                 
Downloading/unpacking pyPdf
  Could not find any downloads that satisfy the requirement pyPdf
  Some externally hosted files were ignored (use --allow-external pyPdf to allow).
Cleaning up...
No distributions at all found for pyPdf
Storing debug log for failure in /tmp/tmpgEc3B

What is the problem?

+4
source share
3 answers

Specipy --allow-external, --allow-unverifiedparameters:

pip install --allow-external pyPdf --allow-unverified pyPdf pyPdf

The task --allow-unverifiedimplies --allow-external; may be omitted.

pip install --allow-unverified pyPdf pyPdf
+6
source

pyPdf is no longer updated, you can check it on your site here

Therefore, you are better off using another package, for example pyPdf2. If you insist on using pyPdf, you can try the falsetru method posted

+2
source

Debian/Ubuntu, :

$sudo apt-get update
$sudo apt-get install python-pypdf
0

All Articles