exoplanet requires Python 3.6 and later.

exoplanet doesn’t have a compiled components so it can be easily installed from source or by using pip.


The only required dependencies for exoplanet are NumPy, PyMC3 and AstroPy. These can be installed using conda or pip:

conda install numpy pymc3 astropy


python -m pip install -r requirements.txt

Using pip

exoplanet can also be installed using pip:

python -m pip install -U exoplanet

From Source

The source code for exoplanet can be downloaded and installed from GitHub by running

git clone
cd exoplanet
python install


To run the unit tests, install the development dependencies using pip:

python -m pip install -r requirements-dev.txt

and then execute:

python -m pytest -vs src/exoplanet

All of the tests should (of course) pass. If any of the tests don’t pass and if you can’t sort out why, open an issue on GitHub.