How to set up and use
garfieldthesam opened this issue · comments
It's unclear from the README
and other artifacts in the repo (or from a google search) how to actually set up and use this package. In my case I'm working in MacOS Ventura.
I have used the command python3 -m pip install dbt-cloud-cli
to install the package via terminal (running zsh
) as suggested in [the blog post](https://docs.getdbt.com/blog/making-dbt-cloud-api-calls-using-dbt-cloud-cli. However, I am not able to invoke dbt-cloud
from the CLI as the blog post seems to suggest.
The CLI is installed as a console_scripts entry point when you run python3 -m pip install dbt-cloud-cli
. It's difficult to say why your shell doesn't find the entrypoint. Have you tried installing it in a Python virtual environment?
Just installed using a venv
and am still unable to invoke from the CLI
BUT I just got it to work by doing the following after looking up common issues with console_scripts entry points:
- Ran
python3 -m pip install dbt-cloud-cli --force
- Modified my
.zshrc
to includeexport PATH=~/Library/Python/3.9/bin:$PATH
Thanks! Looking forward to using this package!
@garfieldthesam I'm glad you managed to fix it :) And thanks for sharing the solution!