Sunday, May 19, 2013

Coursera - Data Science 101

I am participating in the data science course, freely available at  I wanted to set up the environment on my mac, and bypass the virtual machine environment (I hate working on a virtual machine).  Here are some of the extra steps needed to get the course working on a Mac, I am using snow leopard.

  1. Download and install python 2.7 form the python website
  2. You will need to install oath2-1.5.211 in order to access the twitter stream.  Download here
  3. Install the new library by navigating to the directory of the file "" inside the oarth2 folder in the command line and typing: sudo python install (enter your password when prompted)
    1. I received an error at this point complaining about not being able to locate the setuptools package.  If you also see this error, use the following steps to rectify:
      1. Search for and download setuptools-0.6c11-py2.7.egg
      2. In the command line run sudo sh setuptools-0.6c11-py2.7.egg (password again)
  4.  Once the setuptools has been installed, try the installation of the oath2-1.5.211
  5. Follow the rest of the directions as outlined on the course website.
Hope this helps anyone who had trouble!