About python Pdf file imort | Sololearn: Learn to code for FREE!

+1

About python Pdf file imort

I installed "pip install PyPDF2" in my windows 10 but when I am trying to import PyPDF2 ,everytime it is showing that there is no module named PyPDF2...so how can I fix this?? please help me as soon as possible...

7/27/2018 5:03:11 PM

Tuhin Nandi

7 Answers

New Answer

+5

See this thread on SO: https://stackoverflow.com/questions/22106380/how-do-i-install-pypdf2-module-using-windows (they seem to have resolved the issue)

+5

Anything similar to this? https://stackoverflow.com/questions/50033760/solving-environment-failed-packagesnotfounderror-matplotlib-1-5-2 or this: https://github.com/ContinuumIO/anaconda-issues/issues/9205 It also can be linked to a bug in one of the recent anaconda versions: https://github.com/conda/conda/issues/7524

+4

It must be the PATH thing then. You should add the Anaconda folders to your PATH system variable: (considering your Anaconda was installed on C: directly)/, otherwise change the folder path adequately) PATH=%PATH%;C:\Anaconda;C:\Anaconda\Scripts

+3

Do you use any other Python installation beside Spyder? It may be that it is not your default and this is why it does not catch the path. If you have Spyder from Anaconda, use: conda install PyPDF2

0

I use spyder for programming..and by command prompt I installed that...bt in this link they downloaded pyPDF2....I can't understand how can I solve this

0

no I have not installed anything beside spider ...yeah I have spyder from anaconda. .and after giving this command it is showing 'conda' is not recognised as an internal or external command,operable program or batch file

0

after setting path conda is working but when I am going to install PyPDF2 then it showing solving environment:failed the following packages are not available from current channels...