After installing hdf5 with homebrew, I needed to set the two env vars before pip3 install h5py:
export HDF5_DIR="/opt/homebrew/Cellar/hdf5/1.13.0/"
export CPATH="/opt/homebrew/include/"
where 1.13.0 is the version of hdf5 installed.
Topic:
Machine Learning & AI
SubTopic:
General
Tags: