Pip error installing tiledb

I get the error below when trying to run
pip install tiledb

Any suggestions how to resolve it?


running build_ext
libtiledb_exists checking ‘library_dirs’: []
libtiledb_exists found: ‘tiledb.dll’
cythoning tiledb/libtiledb.pyx to tiledb\libtiledb.cpp
C:\Users\Matthew\Anaconda3\lib\site-packages\Cython\Compiler\Main.py:367: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\Matthew\AppData\Local\Temp\pip-install-9mn9bhcn\tiledb\tiledb\libtiledb.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
building ‘tiledb.libtiledb’ extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\tiledb
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\Users\Matthew\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\Matthew\Anaconda3\include -IC:\Users\Matthew\Anaconda3\include “-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\ATLMFC\include” “-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt” /EHsc /Tptiledb\libtiledb.cpp /Fobuild\temp.win-amd64-3.7\Release\tiledb\libtiledb.obj
tiledb\libtiledb.cpp(608): fatal error C1083: Cannot open include file: ‘tiledb/tiledb.h’: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe’ failed with exit status 2

Hi @mattlora, welcome to the forum.

It looks like you are running Python 3.7 under Anaconda on Windows, so conda install -c conda-forge tiledb-py should hopefully get you going immediately, as we have windows binary packages for python 3.6 and 3.7 pre-built on conda-forge.

I haven’t tested pip builds on windows, and it looks like our setuptools script doesn’t work there, yet. (we do have pip binaries and support for linux, to support faster CI for some users, but otherwise we’ve focused on conda due to better binary compatibility guarantees and the large userbase in technical work and data science).

If you have any issues with the conda package, or if there’s something you need from a pip build specifically, please let me know.


That worked thanks a lot.


1 Like