Update SetupConda authored by Erik von Reis's avatar Erik von Reis
...@@ -45,7 +45,7 @@ https://apt.ligo-wa.caltech.edu/sources/conda/environments/ ...@@ -45,7 +45,7 @@ https://apt.ligo-wa.caltech.edu/sources/conda/environments/
for an environment file that suits your needs, for example for an environment file that suits your needs, for example
``` ```
https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py37.yaml https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py39.yaml
``` ```
## create the environment ## create the environment
...@@ -53,7 +53,7 @@ https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py37.yam ...@@ -53,7 +53,7 @@ https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py37.yam
Create the environment as with this example: Create the environment as with this example:
``` ```
mamba env create --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py37.yaml mamba env create --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py39.yaml
``` ```
The exact url will depend on which environment file you wish to use. The exact url will depend on which environment file you wish to use.
...@@ -65,13 +65,13 @@ This creating will take a long time, maybe hours. ...@@ -65,13 +65,13 @@ This creating will take a long time, maybe hours.
Activate the environment using the environments name, which is also the name of the environment file. For the environment created with Activate the environment using the environments name, which is also the name of the environment file. For the environment created with
``` ```
https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py37.yaml https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py39.yaml
``` ```
activate with activate with
``` ```
conda activate cds-py37 conda activate cds-py39
``` ```
Enjoy! Enjoy!
...@@ -81,7 +81,7 @@ Enjoy! ...@@ -81,7 +81,7 @@ Enjoy!
Updating an environment is almost the same Updating an environment is almost the same
``` ```
mamba env update --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py37.yaml --prune mamba env update --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py39.yaml --prune
``` ```
```--prune``` removes packages not needed after the update. ```--prune``` removes packages not needed after the update.
\ No newline at end of file