Following the usual install of Qiime 2 2022.8 as described in the docs for a Miniconda install on Linux will lead to a broken install due to a mismatch in HDF5 libraries.
(base) cdiener@X [~] conda activate qiime2-2022.8
QIIME is caching your current deployment for improved performance. This may take a few moments and should only happen once per deployment.
[...]
File "/users/cdiener/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/q2_diversity_lib/plugin_setup.py", line 16, in <module>
from unifrac._meta import CONSOLIDATIONS
File "/users/cdiener/miniconda3/envs/qiime2-2022.8/lib/python3.8/site-packages/unifrac/__init__.py", line 30, in <module>
from unifrac._api import ssu, faith_pd, ssu_to_file, ssu_inmem
ImportError: libhdf5_cpp.so.200: cannot open shared object file: No such file or directory
It seems like unifrac-binaries is compiled against a recent version of HDF5 (1.12.1) but the environment file pins a pretty outdated version (1.10.6) that does not include the required shared objects.
The issue can be reproduced on Google Colab as well, so it seems reproducible.