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


pip install numpy pymc3 astropy

Using pip

exoplanet can also be installed using pip:

pip install exoplanet

From Source

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

git clone --recursive
cd exoplanet
python install


To run the unit tests, install the following dependencies using pip or conda (you’ll need to use the conda-forge channel to get starry):

conda install -c conda-forge numpy scipy astropy pymc3 pytest starry pip
pip install batman-package parameterized nose

and then execute:

py.test -v

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.