dfm / george

Fast and flexible Gaussian Process regression in Python
http://george.readthedocs.io
MIT License
446 stars 128 forks source link

python setup.py install error -- couldn't find Eigen headers #151

Closed allisony closed 2 years ago

allisony commented 2 years ago

The vendor/eigen/ directory is empty and this raises the RuntimeError "couldn't find Eigen headers". I see in earlier versions that this directory is not empty, and I was able to install version 0.3.1 successfully.

dfm commented 2 years ago

To install from source, follow the instructions from the docs: https://george.readthedocs.io/en/latest/user/quickstart/#from-source

In particular, don't forget the --recursive in the clone (that's the issue you're seeing) and don't run setup.py directly (use python -m pip install -e . instead!).

allisony commented 2 years ago

Thank you, Dan!