I’m trying to install the griddb-python library in my computer to connect to a GridDB database.
I’m using an M2 Mac version Sonoma 14.5.
My Python installation was through Anaconda and I have had no issues installing other packages via pip/conda and Jupyter Notebooks.
I read that the latter doesn’t support griddb-python, so I tried with pip
pip install griddb-python
I’m getting the following error at execution
error: command '/usr/bin/clang' failed with exit code 1
ERROR: Failed building wheel for griddb-python
error: legacy-install-failure
The griddb-python documentation (https://pypi.org/project/griddb-python/) says the following:
Because GridDB Python Client already included C Client Library, so don’t need install GridDB C Client on MacOS.
GridDB C Client Libraries installed at path/to/python/sites-package/
GridDB C Client licenses and header installed at path/to/python/sites-package/griddb/griddb-c-client
I tried installing the Python Client following the documentation.
I successfully installed SWIG, however, when I get to the part where I need to install the GridDB Server (see: https://github.com/griddb/griddb)
there are no clear instructions for MacOS.
So how can I install griddb-python in MacOS via pip with Anaconda?
Thank you very much in advance!
Alejandro Aviña is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.