This project is archived. Its data is
read-only
.
Changes
Page history
Update SetupConda
authored
Feb 14, 2022
by
Erik von Reis
Hide whitespace changes
Inline
Side-by-side
SetupConda.md
View page @
2702aa15
...
...
@@ -45,7 +45,7 @@ https://apt.ligo-wa.caltech.edu/sources/conda/environments/
for an environment file that suits your needs, for example
```
https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
7
.yaml
https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
9
.yaml
```
## create the environment
...
...
@@ -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:
```
mamba env create --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
7
.yaml
mamba env create --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
9
.yaml
```
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.
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-py3
7
.yaml
https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
9
.yaml
```
activate with
```
conda activate cds-py3
7
conda activate cds-py3
9
```
Enjoy!
...
...
@@ -81,7 +81,7 @@ Enjoy!
Updating an environment is almost the same
```
mamba env update --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
7
.yaml --prune
mamba env update --file https://apt.ligo-wa.caltech.edu/sources/conda/environments/linux-64/cds-py3
9
.yaml --prune
```
```--prune```
removes packages not needed after the update.
\ No newline at end of file