Ceci est une ancienne révision du document !
Anaconda
Anaconda is a free and open-source distribution of the Python.
For better performances Anaconda python V3 et V2 are installed with Several optimized scientific packages.
Installed version
In console, check the available modules:
$ module avail lang/python/anaconda lang/python/anaconda/2.7 lang/python/anaconda/3.7
Check for installed packages:
$ conda list
Install new package
You may need to install additional package without having root access. We instead recommend building a virual enviroment locally and install packages there.
- Create a conda environment
$ conda create -y --prefix WORK/conda-env
replace conda-env by a valid name.
- Activate the environment you just created
$ source activate WORK/conda-env
- Download and install the conda package in the environment
$ conda install -c package
replace package by the package you wan to install, for example
panda - Run your analysis from within the environment
- Deactivating environment, once you are done with your analysis- you can deactivate the conda environment by running the command
$ source deactivate