python - 我无法安装 pyPDF 包 根本找不到 pyPdf 的发行版

标签 python installation pip package pypdf

我尝试安装这个包...

$ 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

然后我运行安装包

$ 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

有什么问题吗?

最佳答案

斯佩皮 --allow-external , --allow-unverified选项:

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

指定--allow-unverified意味着--allow-external;可以省略。

pip install --allow-unverified pyPdf pyPdf

关于python - 我无法安装 pyPDF 包 根本找不到 pyPdf 的发行版,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21990416/

相关文章:

python - 将散点图分配到特定的箱中

jquery - Python 相当于 Javascript 的 jQuery 或 Node 的 cheerio?

linux - libXtst 随 yum 安装;/usr/lib/libXtst.so.6 在哪里?

ios - 如何创建 .ipa 文件以便用户可以像 AppStore 一样下载和安装?

python - 如何修复 Python Numpy/Pandas 安装?

python - 删除具有只读权限的文件,但对父文件夹具有写入权限

python - 旋转角色和 Sprite 墙

installation - 如何在静默模式下提取 WinZip 自解压 exe

python - 无法读取的笔记本 : FileNotFoundError(2, 'No such file or directory' )

python - 数据科学体验上的 AssertionError : Multiple . dist-info 目录