Step 1 fortran compiler
$ brew install gcc
Step2 Prepare Python env
$ conda create -n scipy_ode python=2 # If you want python3, use python=3
$ source activate scipy_ode
Step3 Cython
$ conda install cython
Step 4 Numpy
$ cd ~
$ git clone https://github.com/numpy/numpy.git
$ cd numpy
$ python setup.py build -j 4 install
Step 5 Scipy
$ cd ~
$ git clone https://github.com/jddmartin/scipy.git
$ cd scipy
$ git checkout dense_output_from_dopri5_and_dop853
$ git clean -xdf
$ python setup.py install