Skip to content

Conda

Conda⚓︎

  1. For a lightweight experience, install miniconda. This can be done through

    brew install --cask miniconda
    

    Figure it out

  2. Then initialise conda:

    conda init "$(basename "${SHELL}")"
    <exit and reopen terminal>
    
  3. Create your environment:

    conda create -y -n my_project
    conda activate my_project
    conda config --set auto_activate_base false  # (1)
    conda install -y python=3.10  # (2)
    pip install --upgrade pip
    
    1. Stops automatically activating the base env when opening the terminal.
    2. This project also supports 3.11 - 3.13 if you want to use those instead.
  4. And finally, install the requirements:

    cd <root dir of project>
    pip install -r requirements.txt
    pip install -r requirements-dev.txt