Skip to content

Conda Way

Another alternative to the uv Way, for a downloaded copy of CAFE. Like Pixi, Conda builds an isolated environment with the correct Python (3.12) from cafe.yaml, so you don’t need Python installed beforehand.

If you don’t have Anaconda installed, download it from here.

2. Navigate to the CAFE directory (./CAFE/)
Section titled “2. Navigate to the CAFE directory (./CAFE/)”
  • Ensure you are in the correct directory where you will find the following files: src folder, cafe.py, pixi.toml, cafe.yaml etc.
  • If unsure, open your terminal app (or Anaconda Powershell) and navigate to the folder containing the cafe.py file by typing:
Terminal window
cd ./path/to/CAFE
Terminal window
conda env create -f cafe.yaml

This will automatically create a new environment called cafe and install all required packages.

Run this command to activate the Conda environment

Terminal window
conda activate cafe