The problem I’m having
a colleague of mine trying to set up dbt core environment. She ran into error when she’s trying to run dbt --version or dbt deps under the dbt working directory. She has python, dbt core, dbt snowflake installed, dbt virtual environment activate. She has anaconda installed previously. will it be the issue?
The context of why I’m trying to do this
Here’s the steps she was following
Create a new DBT virtual environment https://docs.getdbt.com/docs/core/pip-install
c:\User\yourname\dbt_workspace>python -m venv dbt-env
Activate that same virtual environment each time you create a shell window or session
c:\User\yourname\dbt_workspace>dbt-env\Scripts\activate # activate the environment for Windows
Install DBT adapters https://docs.getdbt.com/docs/core/pip-install
c:\User\yourname\dbt_workspace>python -m pip install dbt-core dbt-snowflake
Check DBT core and adapters version (close vscode window and reopen if you encounter dbt running fail issue)
c:\User\yourname\dbt_workspace>dbt –-version
What I’ve already tried
She has uninstalled python, dbt core, dbt snowflake. Updated anaconda. Then reinstall everything
Some example code or error messages
Program 'dbt.exe' failed to run: Access is deniedAt line:1 char:1
+ dbt --version
+ ~~~~~~~~~~~~~.
At line:1 char:1
+ dbt --version
+ ~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed