-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdbt-conda-env.yml
39 lines (33 loc) · 1.26 KB
/
dbt-conda-env.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
### Use this command to create an isolated conda env:
# conda env create -f dbt-conda-env.yml
### Use this command to then switch to the env:
# conda activate dbt
### You may want to update your conda utility first:
# conda update -n base conda
### Conda has removed the --force parameter so you either update or remove an existing env
# conda env update -f dbt-conda-env.yml
# conda env remove -n dbt -y && conda env create -n dbt -f dbt-conda-env.yml
### If you receive SSL errors due to a network firewall, try installing pip and pip_system_certs without SSL verification
# python -m pip install -U --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pip
# python -m pip install -U --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pip_system_certs
### If your base packages are incredibly old, you may want to update all packages to the current version:
# conda update -n base --all
name: dbt
channels:
- conda-forge
dependencies:
- python=3.11.*
- pip-system-certs
- pip
- pip:
- dbt-core
- dbt-snowflake
- keyring
- pandas
- pip
- pip-system-certs
- pyarrow
- schemachange
- snowflake-cli
- snowflake-ml-python
- snowflake-snowpark-python