1

I am using python 2.7.6 on Ubuntu 14.04 LTS. When I run this command:

sudo pip install pypdf2

The following message shows up:

Requirement already satisfied (use --upgrade to upgrade): 
pypdf2 in /usr/local/lib/python2.7/dist-packages
Cleaning up...

This means that pypdf2 is already installed on my system but when I try to import pyPDF2, this message comes up:

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

1 Answers1

3

Capitalization counts. Try import PyPDF2 and see if that works.

James C. Taylor
  • 430
  • 3
  • 8