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.

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

You may need to install additional package without having root access. We instead recommend building a virtual environment locally and install packages there.

  1. Create a conda environment
    $ conda create -y --prefix $WORK/conda-env

    replace conda-env by a valid name.

  2. Activate the environment you just created
    $ source activate $WORK/conda-env  
  3. 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

  4. Run your analysis from within the environment
  5. Deactivating environment, once you are done with your analysis- you can deactivate the conda environment by running the command
    $ source deactivate
  • anaconda.1569487270.txt.gz
  • Dernière modification : 2019/09/26 08:41
  • de admin