hello! i just started playing around with elementa...
# community-support
c
hello! i just started playing around with elementary yesterday and have been trying to generate the report via
edr report
. however, i get the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'dbt'
. im fairly certain it is because i have dbt installed in a different environment (
/home/cj/miniconda3/envs/cj_dbt/bin
). is there a way to have edr look at that environment in order to run
edr report
?
👀 1
i
Hi @CJ Johanson - we do require `dbt`to be installed as a part of the same environment as
edr
. This is a bit surprising though as
dbt-core
is a requirement for
edr
so it should be installed automatically. If you run:
Copy code
pip freeze | grep -i dbt
in the
edr
env, do you see dbt installed?
c
im not super familiar with environments and such, ive just been working with what was given to me so apologies for any dumb questions. when i run
which edr
i get
/home/cj/.local/bin/edr
but i know thats not where dbt is installed. yesterday i ran
/home/cj/miniconda3/envs/cj_dbt/bin/pip install elementary-data
thinking that would install edr in the same environment. any ideas where i went wrong? or am i not giving enough good information for you to know where i went wrong?
i
no worries you need to activate the virtual environment for
edr
to automatically point there this should work:
Copy code
/home/cj/miniconda3/envs/cj_dbt/bin/activate
which edr
or alternatively you can run
edr
directly like this:
/home/cj/miniconda3/envs/cj_dbt/bin/edr
actually you want to do the first (activate the environment) so when
edr
runs
dbt
it will also try to invoke it in the same virtualenv
thankyou 1