Skip to content

Instantly share code, notes, and snippets.

@include
Forked from westurner/setup_pandas_notebook.sh
Last active January 3, 2016 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save include/8492633 to your computer and use it in GitHub Desktop.
Save include/8492633 to your computer and use it in GitHub Desktop.
#!/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 gcc
brew install readline
brew install zeromq
brew install numpy
brew install scipy
pip install ipython pyzmq tornado pygments jinja2
python -c 'from IPython.external import mathjax; mathjax.install_mathjax()'
}
setup_pandas () {
brew install gfortran
brew install pkg-config
brew install freetype
brew install swig
pip install pandas
pip install python-dateutil pytz matplotlib
pip install patsy
pip install statsmodels
}
setup_brew && setup_ipython && setup_pandas
ipython notebook --pylab=inline
@include
Copy link
Author

include commented Feb 13, 2014

Start it with:

ipython notebook --pylab=inline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment