1. brew update && brew install pyenv
2. PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.6.0
3. pip install ipython
4. pip install jupyter
5. pip install matplotlib
6. pip install scipy
6. pip install pandas
1. pyenv local 3.6.0
2. jupyter notebook
%run /path/to/script.py
%load /path/to/script.py