When you load one of our Anaconda modules, you have effectively loaded the base conda environment for that Anaconda version. If you use conda activate, you will be prompted to issue the command conda init. More recent Anaconda distributions will tell you to use the command conda activate instead of source activate to activate your newly created environment.
If you are using a prefix to install conda environment, use the prefix to activate your environment. It will show your environment name at the beginning of the prompt. This environment will be installed in the directory /bgfs/fmu/envs/samtools You can also provide a prefix to install conda environment.Ĭonda create -prefix=/bgfs/fmu/envs/samtools python=3.7
You can see all the packages under folder “bin”. The newly created environment will be installed in the directory /ihome///.conda/envs/scanpy. Usually, the conda environment is installed in your home directory, /ihome//. ~]$ module ~]$ module load ~]$ conda create -n scanpy python=3.8Ĭollecting package metadata (current_repodata.json): done Create new conda environmentĬreate a conda environment named scanpy with python 3.8.
Where anaconda2 represents Python 2 installations and anaconda3 represents Python 3 installations. Module load python/ondemand-jupyter-python3.8 The anaconda environments can be loaded through provided module files: Run “module spider python” to check the available python environments. There are various anaconda python environments provided for everyone to use. Each environment has its own installation directories, that doesn’t share packages with other environments.
It also serves as an environment manager, and allows you to have multiple isolated environments for different projects on a single machine. Conda is a package manager, which helps you find and install packages such as numpy or scipy.