... | ... | @@ -2288,42 +2288,45 @@ Bioconda is a channel for the conda package manager specializing in bioinformati |
|
|
##### Example
|
|
|
```
|
|
|
module purge
|
|
|
module add tools/miniconda/python3.7/4.7.12
|
|
|
module add tools/miniconda/python3.8/4.9.2
|
|
|
|
|
|
conda info
|
|
|
|
|
|
active environment : None
|
|
|
shell level : 0
|
|
|
user config file : /home/username/.condarc
|
|
|
populated config files : /home/username/.condarc
|
|
|
conda version : 4.7.12
|
|
|
user config file : /home/<username>/.condarc
|
|
|
populated config files : /home/<username>/.condarc
|
|
|
conda version : 4.9.2
|
|
|
conda-build version : not installed
|
|
|
python version : 3.7.4.final.0
|
|
|
virtual packages :
|
|
|
base environment : /share/software/tools/miniconda/3.7/4.7.12 (read only)
|
|
|
python version : 3.8.5.final.0
|
|
|
virtual packages : __cuda=11.6=0
|
|
|
__glibc=2.28=0
|
|
|
__unix=0=0
|
|
|
__archspec=1=x86_64
|
|
|
base environment : /share/software/tools/miniconda/3.8/4.9.2 (read only)
|
|
|
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
|
|
|
https://repo.anaconda.com/pkgs/main/noarch
|
|
|
https://repo.anaconda.com/pkgs/r/linux-64
|
|
|
https://repo.anaconda.com/pkgs/r/noarch
|
|
|
package cache : /share/software/tools/miniconda/3.7/4.7.12/pkgs
|
|
|
/home/username/.conda/pkgs
|
|
|
envs directories : /home/username/.conda/envs
|
|
|
/share/software/tools/miniconda/3.7/4.7.12/envs
|
|
|
package cache : /exports/linux-infra/users/mpvillerius
|
|
|
envs directories : /home/mpvillerius/.conda/envs
|
|
|
/share/software/tools/miniconda/3.8/4.9.2/envs
|
|
|
platform : linux-64
|
|
|
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/4.18.0-147.8.1.el8_1.x86_64 centos/8.1.1911 glibc/2.28
|
|
|
UID:GID : 225812:513
|
|
|
user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Linux/4.18.0-373.el8.x86_64 centos/8 glibc/2.28
|
|
|
UID:GID : 9642:513
|
|
|
netrc file : None
|
|
|
offline mode : False
|
|
|
|
|
|
```
|
|
|
|
|
|
```
|
|
|
conda create --name Project-B
|
|
|
conda create --prefix /exports/<project directory>/Project-B
|
|
|
Collecting package metadata (current_repodata.json): done
|
|
|
Solving environment: done
|
|
|
|
|
|
## Package Plan ##
|
|
|
|
|
|
environment location: /home/username/.conda/envs/Project-B
|
|
|
environment location: /exports/<project directory>/Project-B
|
|
|
|
|
|
Proceed ([y]/n)? y
|
|
|
|
... | ... | @@ -2333,7 +2336,7 @@ Executing transaction: done |
|
|
#
|
|
|
# To activate this environment, use
|
|
|
#
|
|
|
# $ conda activate Project-B
|
|
|
# $ conda activate /exports/<project directory>/Project-B
|
|
|
#
|
|
|
# To deactivate an active environment, use
|
|
|
#
|
... | ... | |