This is a memo.
I struggled to install TRIQS on Catalina.
Since TRIQS does not support Python 3.x,
we need to stick to Python 2.7.
Python 2.7.15 (from pyenv WITH shared library)
HDF5 1.8 (from homebrew)
h5py 2.7.1 (from pip)
> CONFIGURE_OPTS="--enable-shared" pyenv install 2.7.15
> brew uninstall hdf5 # Uninstall other verions if installed
> brew install hdf5@1.8
> pip install cython # If you do not install Cython, pyenv may pick up a wrong one
> HDF5_DIR=/usr/local/opt/hdf5@1.8 pip install --no-binary=h5py h5py==2.7.1
This is a memo. I struggled to install TRIQS on Catalina. Since TRIQS does not support Python 3.x, we need to stick to Python 2.7.
Before configuring a build for TRIQS, set