Lucas Simon
Lucas Simon

Reputation: 461

I can't install pyPDF package No distributions at all found for pyPdf

I try 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 run install the package

$ 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

Whats the problem?

Upvotes: 4

Views: 14950

Answers (3)

Omidreza Bagheri
Omidreza Bagheri

Reputation: 841

If you use Debian/Ubuntu, you can use standard repository to install the corresponding package:

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

Upvotes: 0

zlogic
zlogic

Reputation: 69

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

So you'd better use other package like pyPdf2. If you insist to use pyPdf, you can try the method falsetru posted

Upvotes: 2

falsetru
falsetru

Reputation: 369364

Specipy --allow-external, --allow-unverified options:

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

Specifying --allow-unverified implies --allow-external; can be omitted.

pip install --allow-unverified pyPdf pyPdf

Upvotes: 6

Related Questions