git.bat not picked up on dbt deps
See original GitHub issueref. https://github.com/fishtown-analytics/dbt/pull/1110
> dbt deps
Encountered an error:
Could not find command, ensure it is in the user's PATH: "git"
I have reasons to wrap my executables. On Windows I wrap my executables in .bat
scripts (to get a similar effect to .sh
). But then Popen( ['git'] )
doesn’t work. Popen( ['git.bat'])
works.
So the platform-independent way to get git
to work is to use shutil.which
to get the full path to the exe. Popen([ which('git') ], )
works.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
git.bat not picked up on dbt deps · Issue #3035 - GitHub
So the platform-independent way to get git to work is to use shutil.which to get the full path to the exe. Popen([ which('git')...
Read more >Installed dbt but getting error "DBT command not found error"
In order to execute dbt command you have to be in a folder with a DBT Project. Usually it doesn't work from anywhere....
Read more >ga4 - dbt - Package hub
GA4 DBT Package. This package connects to an exported GA4 dataset and provides useful transformations as well as report-ready dimensional models that can...
Read more >How to Setup DBT Snowflake Integration: 4 Easy Steps
There's no need to be concerned about Query Optimization. Secure Data Sharing: Using Snowflake Database Tables, Views, and UDFs, data can be ...
Read more >Managing Python dependencies in requirements.txt
To run the CLI, see the aws-mwaa-local-runner on GitHub. ... (line 4)) No matching distribution found for LibraryName==1.0.0 (from -r ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, this one is a little bit beyond me. @kwigley When you have a moment, could I ask for your sense-check here?
@majidaldo Is this a fix you’d be interested in contributing? I’d welcome a PR for it, if you don’t mind explaining the system/security implications of the proposed changes.