Tiledbvcf installation error on MacOS

I have installed tiledb and tiledbvcf-py via the tiledb conda channel.

“tiledbvcf --version” from the command line gives the floowing output:

TileDB-VCF version 0.34.1
TileDB version 2.25.0
htslib version 1.20

However “import tiledbvcf” in the python CLI gives an error:

Traceback (most recent call last):
File “”, line 1, in
File “/opt/miniconda3/envs/tiledb/lib/python3.10/site-packages/tiledbvcf/init.py”, line 9, in
import tiledbvcf.libtiledbvcf
ImportError: dlopen(/opt/miniconda3/envs/tiledb/lib/python3.10/site-packages/tiledbvcf/libtiledbvcf.cpython-310-darwin.so, 2): Symbol not found: __ZN6google5cloud5v2_2623MakeInsecureCredentialsENS1_7OptionsE
Referenced from: /opt/miniconda3/envs/tiledb/lib/python3.10/site-packages/tiledbvcf/libtiledb.dylib
Expected in: /opt/miniconda3/envs/tiledb/lib/libgoogle_cloud_cpp_common.2.dylib
in /opt/miniconda3/envs/tiledb/lib/python3.10/site-packages/tiledbvcf/libtiledb.dylib

1 Like

@Phil_Appleby thanks for reporting this. I was able to reproduce the error.

The short-term solution is to install libgoogle-cloud 2.26.0 (you likely have the latest 2.28.0 installed)

mamba install -c conda-forge libgoogle-cloud=2.26

In the meantime we will investigate the problem with libgoogle-cloud 2.28.0

Hi John,

That downgrade does get me over the installation problem - now I’ll have to do some real work!

Thanks,
Phil

1 Like