I have tried to install the pyPdf package by using apt-get. The package seems to have been installed in /usr/share/pyshared/. The problem is that python doesn't see the package and thus can't import it, giving me the following traceback when importing:
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named pyPdf
print sys.path gives the following:
['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/home/grieverheart/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages']
And the version reported with
Do you have any idea why this is happening and what I could do to fix it? I'm using ubuntu 13.04 btw.