Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

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