Lecture 2

Some links to the material for lecture 2. 


Here are installation instructions for mrJob:

Instructions for installing mrJob
1.  Download source tree for mrJob
    a.  https://github.com/Yelp/mrjob/downloads
    b.  click either "download as zip" or "download as tar.gz"
2.  Extract the downloaded file into a directory in a convenient location
3.  In a terminal window, go to the directory into which you decompressed the source tree (the directory containing setup.py) and run

C:\Program Files\Yelp-mrjob-1ed83b0>python setup.py install

This is what it looked like on my computer.  On your computer the part to the left of   ">" may look different  C:\Program Files\Yelp-mrjob-1ed83b0>

On my computer the command "python" launches python 2.6.4.  You need to be using 2.6 or 2.7 for this to work.  If you're using Python 3.x, then you'll need to change.  

You can test that the installation has worked by running


from a command window and then in the pythong shell, execute the following command:  

>>> import mrjob

That should run without any hangups, which indicates that mrjob is installed and python knows where to find it.