Either use pipenv
for Virtual Environment or Docker container
Sync dependencies of specific versions and open subshell:
pipenv sync
pipenv shell
dbt --version
dbt debug
- 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: