I am relatively new to Python, and this will undoubtedly seem like a 'luser' question, but I promise I've googled until my fingers bled and I'm still behind the brick wall. Problem: I get errors when attempting to install the xlrd module. It's the first module I've tried to install, and I have to think I'm missing something simple.
python v 2.7.5
xlrd v 0.9.2
Here are the xlrd README instructions and the steps I've taken:
Instructions: Any OS: Unzip the .zip file into a suitable directory, chdir to that directory, then do "python setup.py install".
I don't know what qualifies as a "suitable" directory, but I downloaded the zipped file, unzipped it, and put the resulting folder in my HD. I then started python via Terminal and changed the directory using os.chdir(). I don't know what it means to "do" the final instruction step, so I tried simply typing "python setup.py install" into python. Syntax error. I tried typing "setup.py install" and "setup.py" and got more syntax errors.
According to the python.org 2.7.5 documentation, "installing the module distribution is a simple matter of running one command from a terminal: setup.py install" - yet when I do that (without changing the directory... it didn't mention it so I didn't do it) I get "-bash: setup.py: command not found". If I change what I type to "python setup.py install" I instead get a "Errno2 No such file or directory."
metulburr's module tutorial says:
3rd party software use distutils from the standard library to install themselves. So no path configuration is required to use thier code. These typically come with a setup.py file
... except that I'm apparently too ignorant to know what to do with a setup.py file.
Trust me... the fact that I can't solve this myself has me seriously questioning whether I should even continue trying to learn Python. I'm already feeling sufficiently stupid.
Thanks for any help you can offer.