Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot install PyPdf 2 module

Tags:

People also ask

How do I install PyPDF2 module using Windows?

type cmd. excute the command line (black window) type cd C:\Users\User\Downloads\pyPDF2 to go into the directory where the setup.py is (this is mine if I downloaded it) The path can be copied from the explorer window. type dir now you should see the name setup.py in the listing of all contents.

Does PyPDF2 work with Python 3?

Use PyPDF2. I've been using it in Python 3 (v3. 5.2 to be precise), and it works quite well. Here's a simple command that you can use to install PyPDF2.

Does Anaconda have PyPDF2?

scw / packages / pypdf2 1.26.0. 1 A Pure-Python library build as a PDF toolkit. It is capable of extracting document information, splitting documents page by page, merging documents page by page, cropping pages, merging multiple pages into a single page, encrypting and decrypting PDF files, and more.


Trying to install PyPdf2 module, I downloaded the zip and unzipped it, I executed python setup.py build and python setup.py install, but it seems that it has not been installed , when I try to import it from a python script, it returns an ImportError:

import pyPdf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pyPdf

Any help please.

I'm using python 2.7 under windows XP.