Environment setup
Either use pipenv
for Virtual Environment or Docker container
Python virtual enironment
Sync dependencies of specific versions and open subshell:
pipenv sync
pipenv shell
dbt --version
dbt debug
Docker
- Launch containers with dbt and postgres
- Enter dbt container for interactive session
docker-compose up -d
docker-compose exec dbt bash
dbt --version
dbt debug
Or simply attach shell in VS Code: