Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save omar-florez/11021080 to your computer and use it in GitHub Desktop.
Save omar-florez/11021080 to your computer and use it in GitHub Desktop.

Revisions

  1. @westurner westurner revised this gist Oct 5, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup_pandas_notebook.sh
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@ setup_pandas () {
    brew tap homebrew/dupes
    brew install homebrew/dupes/freetype

    pip install numpy python-dateutil pytz scipy matplotlib
    pip install numpy python-dateutil pytz scipy matplotlib statsmodels
    pip install pandas
    }

  2. @westurner westurner revised this gist Jul 29, 2012. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions setup_pandas_notebook.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,11 @@
    #!/bin/sh

    setup_brew () {
    if ![-f "/usr/local/bin/brew"]; then
    /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
    fi
    }

    setup_ipython () {
    brew install readline
    brew install zeromq
    @@ -8,12 +14,6 @@ setup_ipython () {
    python -c 'from IPython.external import mathjax; mathjax.install_mathjax()'
    }

    setup_brew () {
    if ![-f "/usr/local/bin/brew"]; then
    /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
    fi
    }

    setup_pandas () {
    brew install gfortran
    brew install pkg-config
    @@ -24,4 +24,4 @@ setup_pandas () {
    pip install pandas
    }

    setup_ipython && setup_brew && setup_pandas && ipython notebook --pylab=inline
    setup_brew && setup_ipython && setup_pandas && ipython notebook --pylab=inline
  3. @westurner westurner created this gist Jul 29, 2012.
    27 changes: 27 additions & 0 deletions setup_pandas_notebook.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    #!/bin/sh

    setup_ipython () {
    brew install readline
    brew install zeromq
    pip install ipython pyzmq tornado pygments

    python -c 'from IPython.external import mathjax; mathjax.install_mathjax()'
    }

    setup_brew () {
    if ![-f "/usr/local/bin/brew"]; then
    /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
    fi
    }

    setup_pandas () {
    brew install gfortran
    brew install pkg-config
    brew tap homebrew/dupes
    brew install homebrew/dupes/freetype

    pip install numpy python-dateutil pytz scipy matplotlib
    pip install pandas
    }

    setup_ipython && setup_brew && setup_pandas && ipython notebook --pylab=inline