Pekka
10/06/2022, 10:37 AMImportError: dbt-core needs to be installed to use this task; run `pip install "prefect-dbt[cli]"
when I definitely have prefect-dbt[cli]
installed both for the system and for the project.
The error happens when running
prefect_dbt.cli.commands.trigger_dbt_cli_command("dbt debug")
-- does this have to do with missing trigger_kwargs
-- not the package missing?
SOLVED: INSTALL PREFECT-DBT[CLI] AS ROOT (the subprocesses don't have the same PATH variable so the which
command doesn't find them)Zanie
10/06/2022, 1:42 PMPekka
10/06/2022, 1:43 PMwhich
wasn't same either.sh
- that probably explains itZanie
10/06/2022, 3:49 PM