Installation with pip

To install the latest Gammapy stable version (see Gammapy page on PyPI) using pip:

$ python -m pip install gammapy

To install the current Gammapy development version using pip:

$ python -m pip install git+https://github.com/gammapy/gammapy.git#egg=gammapy

Or like this, if you want to study or edit the code locally:

$ git clone https://github.com/gammapy/gammapy.git
$ cd gammapy
$ pip install .

How to get set up for Gammapy development is described here: Get set up