Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
anaconda [2021/01/21 09:50] – [Installed version] adminanaconda [2024/04/30 13:56] (Version actuelle) – admin
Ligne 27: Ligne 27:
  
 ===== Install new package===== ===== Install new package=====
 +
 +<note important>
 +**EDIT DEC 2023**\\
 +If you get errors ( related to ''GLILBC'') when installing packages with ''conda'' please follow this [[anaconda_sing|link]].
 +</note>
 +
 +
 +<note important>
 +**EDIT 2023**\\
 +The latest python version supported on the cluster is **3.7.4**
 +You need to request this explicitly when creating a new conda env by  using this option: ''python=3.7.4''
 +</note>
  
 You may need to install additional package without having root access.  You may need to install additional package without having root access. 
Ligne 36: Ligne 48:
  
  
-  - Create a conda environment <code bash>$ conda create -y --prefix $WORK/conda-env</code> replace ''conda-env'' by a valid name. +  - Create a conda environment <code bash>$ conda create -y --prefix $WORK/conda-env python=3.7.4 </code> replace ''conda-env'' by a valid name. 
   - Activate the environment you just created <code bash>$ conda activate $WORK/conda-env  </code>   - Activate the environment you just created <code bash>$ conda activate $WORK/conda-env  </code>
-  - Download and install the conda package in the environment <code bash> $ conda install -c package</code> replace package by the package you wan to install, for example ''panda''+  - Download and install the conda package in the environment <code bash> $ conda install package</code> replace package by the package you wan to install, for example ''panda''
   - Run your analysis from **within** the environment   - 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 <code bash>$ conda deactivate</code>   - Deactivating environment, once you are done with your analysis- you can deactivate the conda environment by running the command <code bash>$ conda deactivate</code>
  • anaconda.1611222654.txt.gz
  • Dernière modification : 2021/01/21 09:50
  • de admin