# Create tiledbvcf dataset on azure on MacOS

**URL:** <https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730>\
**Category:** Uncategorized\
**Created:** [October 2, 2024, 11:03pm UTC](https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730 "2024-10-02T23:03:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpissinis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/jpissinis/32/349_2.png) [@jpissinis](https://forum.tiledb.com/u/jpissinis)\
**Post date:** [October 2, 2024, 11:03pm UTC](https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730/1 "2024-10-02T23:03:34Z")

</div>

Hi, I have installed tiledbvcf-py and tiledb using conda.  
The versions are:  
TileDB-VCF version 0.34.1  
TileDB version 2.25.0  
htslib version 1.20

I am trying to create a dataset on an azure storage account authenticating using the storage account key.  
However, I get an error when running ds.create\_dataset():  
File “/opt/miniconda3/envs/tiledbvcf\_env/lib/python3.12/site-packages/tiledbvcf/dataset.py”, line 685, in create\_dataset  
self.writer.create\_dataset()  
RuntimeError: TileDB-VCF exception: TileDB internal: 404 The specified blob does not exist.

I am running this on MacOS

Thanks

---

<div class="post-metadata">

**Author:** ![spencerseale](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/spencerseale/32/340_2.png) [@spencerseale](https://forum.tiledb.com/u/spencerseale)\
**Post date:** [October 3, 2024, 2:39pm UTC](https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730/2 "2024-10-03T14:39:53Z")

</div>

Hi JP,

Did you configure your `tiledbvcf.Dataset` object to work with your Azure backend? See configuration docs here: [https://docs.tiledb.com/main/how-to/configuration](https://docs.tiledb.com/main/how-to/configuration).

For all tiledb APIs, the URIs they manipulate are meant to be filesystem agnostic. In order to do this, each API will in someway take a configuration object to configure that backend.

Thanks,  
Spencer

---

<div class="post-metadata">

**Author:** ![jpissinis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/jpissinis/32/349_2.png) [@jpissinis](https://forum.tiledb.com/u/jpissinis)\
**Post date:** [October 3, 2024, 6:03pm UTC](https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730/3 "2024-10-03T18:03:35Z")

</div>

Thank you Spencer for your help!  
I have `vfs.azure.storage_account_name` and `vfs.azure.storage_account_key` configured and the URI has the format `f"azure://{container_name}/{dataset_name}"`. I am able to run the same code on Linux succesfully. Later I tested reading from this already created `tiledbvcf.Dataset` on MacOS and I was also able to do it. The one thing that is not working is trying to create the dataset or writing to it using MacOS.

---

<div class="post-metadata">

**Author:** ![ihnorton](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/ihnorton/32/23_2.png) [@ihnorton](https://forum.tiledb.com/u/ihnorton)\
**Post date:** [October 7, 2024, 9:50pm UTC](https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730/4 "2024-10-07T21:50:06Z")

</div>

Hi @jpissinis,  
Just to double-check, do have identical code that is working on linux but failing on mac? Have you confirmed that the Azure configuration on mac works (for example, list the bucket prefix with Azure CLI). We’re not aware of any issues like this at the moment. It would be helpful if you’re able to share a minimal reproduction with TileDB-VCF or the [TileDB Python API](https://github.com/TileDB-Inc/TileDB-Py) ( `$ conda install -c conda-forge tiledb-py`) (which uses the same underlying libtiledb library as TileDB-VCF, when installed w/ conda).

---

<div class="post-metadata">

**Author:** ![jpissinis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/jpissinis/32/349_2.png) [@jpissinis](https://forum.tiledb.com/u/jpissinis)\
**Post date:** [October 15, 2024, 5:51pm UTC](https://forum.tiledb.com/t/create-tiledbvcf-dataset-on-azure-on-macos/730/5 "2024-10-15T17:51:06Z")

</div>

Hi @ihnorton,  
Thank you for your help. I am trying to reproduce this on a fresh environment to be able to share a minimal reproduction, however, I run now into another issue on MacOS when installing the latest version of tiledbvcf. I get the following when trying to import it:  
import tiledbvcf  
File “/opt/miniconda3/envs/tiledbvcf\_write/lib/python3.12/site-packages/tiledbvcf/ **init**.py”, line 9, in   
import tiledbvcf.libtiledbvcf  
ImportError: dlopen(/opt/miniconda3/envs/tiledbvcf\_write/lib/python3.12/site-packages/tiledbvcf/libtiledbvcf.cpython-312-darwin.so, 0x0002): Symbol not found: \_\_ZN6google5cloud5v2\_2823MakeInsecureCredentialsENS1\_7OptionsE  
Referenced from: \<1A63D6D0-49DB-3A68-829B-D4DF679EC466\> /opt/miniconda3/envs/tiledbvcf\_write/lib/python3.12/site-packages/tiledbvcf/libtiledb.dylib  
Expected in: \<708779A3-90F4-34E6-944D-5EB418DB2D24\> /opt/miniconda3/envs/tiledbvcf\_write/lib/libgoogle\_cloud\_cpp\_common.2.30.0.dylib

I tried the fix in [Tiledbvcf installation error on MacOS](https://forum.tiledb.com/t/tiledbvcf-installation-error-on-macos/710) but downgrading libgoogle did not solve it in my case.

The tiledb versions are now:  
TileDB-VCF version 0.34.2  
TileDB version 2.25.0  
htslib version 1.20

And I installed them using:  
`conda install -c conda-forge tiledb-py`  
`conda install -c tiledb -c conda-forge libtiledbvcf tiledbvcf-py`

Thank you
