

All you have to do is type the following into a terminal window (if you created a virtual environment above you should first run the appropriate activate command depending on whether you used virtualenv or conda): pip install rebound To create a conda environment run the following command: conda create -n venv pip If you use the Anaconda distribution, the above likely will not work.

If you log out of your terminal or open a new one, you'll need to reactivate the virtual environment with the above command (if the environment is active you'll see its name in parentheses before the command prompt). To activate it, type: source venv/bin/activate This creates a virtual environment named venv. home/username/rebound/) and enter: virtualenv venv To create a virtual environment, simply open a terminal window, go to the folder where you want REBOUND to be installed (e.g. You need to have virtualenv installed (if you use the Anaconda python distribution, you'll need to instead create a conda environment - see below). Create a virtual environmentīefore you start, you can create a virtual environment to keep your python installation clean. For the C compiler on Mac, it's probably easiest to install Xcode from the App store.
PIP INSTALL IPYTHON NOTEBOOK HOW TO
If you don't, and aren't sure how to go about getting them, it is probably easiest to install either the Enthought or Anaconda python distributions (which are free and come with typically used libraries and an easy-to-use installer). Most likely, you already have those on your system. However, you need to have python (version 2 or 3) and a C compiler installed. Rebound does not depend on any libraries.
