I'm trying to install dbt tool to Window 10. There is Python 3.9 and also VS2019 installed.(I don't know why required)
I'm getting strange errors and wondering errors and what should be done:
Command:
git clone https://github.com/fishtown-analytics/dbt.git
cd dbt
pip install -r requirements.txt
Error:
ERROR: Command errored out with exit status 1:
command: 'c:\users\my.name\appdata\local\programs\python\python39\python.exe'
'c:\users\my.name\appdata\local\programs\python\python39\lib\site-
packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel
'C:\Users\MY~1.NAME\AppData\Local\Temp\tmpzybnxyld'
cwd: C:\Users\my.name\AppData\Local\Temp\pip-install-l8pl5jty\tree-
sitter_f257da752ba04b9dacbc947d2d743146
Complete output (10 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\tree_sitter
copying tree_sitter\__init__.py -> build\lib.win-amd64-3.9\tree_sitter
running build_ext
building 'tree_sitter.binding' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build
Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Failed building wheel for tree-sitter
The current development version of dbt (develop
branch, or installable as v0.20.0rc1
) requires two new dependencies:
tree-sitter==0.19.0
tree-sitter-jinja2==0.1.0a1
The first of these, tree-sitter
, requires you to have a C compiler installed on your system. Check out the related issue on GitHub: https://github.com/fishtown-analytics/dbt/issues/3433
We're going to think about how we can make this installation experience smoother. In the meantime, you can install GCC and then try installing dbt from source again.