Installing qp

For now the only installation type that is support is installing from source. Since qp is all python code, this is pretty easy.

Installing from source

git clone https://github.com/LSSTDESC/qp.git
cd qp
pip install .

Installing for development

If you’re installing with the intention of developing qp, you’ll need a few more steps.

  1. Install MPI from source following these instructions. e.g.

sudo apt-get install mpich
  1. Install all dependencies

git clone https://github.com/LSSTDESC/qp.git
cd qp
pip install -e .[dev]

Or for installing on a Mac:

pip install '.[dev]'
  1. Run pytest to confirm that you can build and run qp in your environment.