Hi everyone, I have a virtual environment issue fo...
# community-support
e
Hi everyone, I have a virtual environment issue for Elementary. I use windows 10. I created a python virtual environment with 3 libraries (dbt-core==1.7.7, dbt-snowflake==1.7.1, elementary-data[snowflake]==0.13.2). I installed packages in the local repo (dbt-labs/dbt_utils: 0.8.6, elementary-data/elementary: 0.13.2). I created a model for Elementary and the model created a table in the snowflake for Elementary after "dbt run". But I couldn't generate a report dashboard with "edr report". The file triggering the issue is there but python can not find the file. I would appreciate any help, thanks ! Python --version -> 3.9.7
h
Did you run
dbt deps
previously?
e
Yes
dpt deps installed the libraries in dbt_packages folder.
I think there is a problem about windows. I am in the dbt main directory. I see dbt_packages there. And there is also data_test_fewer**.csv file is there but python can not read the file with this path. I think that "path" should have started "C:\Users\....". Because of that, it couldn't find the file.
h
but this is a relative path, is the path after
--project-dir
correct?
e
Yes
I guess "windows" can not open the relative path, it should have been an absolute path.
o
Hi @Emre Ozan, i believe whats going on here is that you reach the character limit for files in windows 😕 can you try doing the same thing, but creating the virtual environment closer the the root directory?
🤣 1