+ 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...

27th Jul 2018, 5:03 PM
Tuhin Nandi
Tuhin Nandi - avatar
7 Answers
+ 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)
27th Jul 2018, 5:04 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
28th Jul 2018, 7:35 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 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
27th Jul 2018, 7:38 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 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
27th Jul 2018, 5:56 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
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
27th Jul 2018, 5:53 PM
Tuhin Nandi
Tuhin Nandi - avatar
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
27th Jul 2018, 6:27 PM
Tuhin Nandi
Tuhin Nandi - avatar
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...
28th Jul 2018, 5:16 AM
Tuhin Nandi
Tuhin Nandi - avatar