If you'd like to follow along, you should first install Python 2.7. (note if you have Mac OS X, Python should come with your computer already)
You have several options:
- The Anaconda Installation This will automatically install python, as well as much of the data analysis libraries we'll use.
- Normal Python Installation Then follow the below steps:
- Install pip, a program that manages the Python libraries you install.
- Install libraries numpy, scipy, and matplotlib, by running in the terminal:
1.
pip install numpy2.pip install scipy3.pip install matplotlib
Then, install Jupyter Notebook. If you use pip, run pip2, not pip3.
Then, download the directory available at https://github.com/lujonathanh/JupyterTutorial.
Unzip this to a folder from which you'd like to run your code, like tutorial.
Then, open up your terminal and change directories into the JupyterTutorial folder. If your folder is named tutorial, then switch into tutorial/JupyterTutorial.
Then, from the command line, run the command: jupyter notebook
If you are using anaconda, run: jupyter-notebook instead.