exoplanet-dev / exoplanet

Fast & scalable MCMC for all your exoplanet needs!
https://docs.exoplanet.codes
MIT License
206 stars 52 forks source link

Unable to install exoplanet 0.4 #116

Closed emilygilbert closed 4 years ago

emilygilbert commented 4 years ago

When trying to install exoplanet from source following the instructions for installing from source with python -m pip install -e . I get the following error:

In file included from src/exoplanet/theano_ops/lib/include/exoplanet/starry/ellip.h:21:
src/exoplanet/theano_ops/lib/include/exoplanet/starry/utils.h:13:10: fatal error: 'Eigen/Core' file not found
#include <Eigen/Core>
         ^~~~~~~~~~~~
1 error generated.
error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1

@mrtommyb is getting the same error as well

Setup:

dfm commented 4 years ago

The git clone needs a --recursive flag or you can run

git submodule init
git submodule update

to download the Eigen submodule.

Pull requests welcome to fix the docs :D