As a newbie... I am having difficulties installing pyPDF2 module. I have downloaded. Where and how do I install (setup.py) so I can use module in python interpreter?
To install setup.py files under Windows you can choose this way with the command line:
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.dir
now you should see the name setup.py in the listing of all contentsC:\python27\python.exe setup.py install
I use Python2.7 here. Use C:\python33\python.exe setup.py install
for python 3.3 and so on. You can follow these instructions now if you wish: http://docs.python.org/2/install/index.htmlAnother way, that does not show when there are problems, is:
setup.py
C:\Users\User\Downloads\pyPDF2\setup.py
(this is where my setup.py is)you modify that path in the following way:
"C:\Users\User\Downloads\pyPDF2\setup.py" install
The "
are important if you have white spaces in the path name
In all cases you may need to restart your python to be able to import the module.
When you do this feel free to post your solution also with pictures for other newbies looking for it.