View on GitHub

Carme-Docu

Documentation Project for Carme

How to create and activate a conda environment

Create a conda environment

  1. Open the terminal and type:

    conda create -n <name> python=3.10 -y
    

    Note: Here, I specifically install Python 3.10. Choose python=3 to install the latest version.

Activate a conda environment

  1. To activate the environment, in the terminal type:

    conda activate <name> 
    
  2. If you don’t recall the name, type the following to list all your conda environments.

    conda env list 
    
  3. To know the Python version that is installed in your environment, type:

    python --version