Installation#

There are two recommended approaches for setting up the environment and installing the ccf2d package.

Prerequisites#

  • Python 3.12 or higher

  • Git (for cloning the repository)

First, clone the repository and navigate to the project directory:

git clone https://github.com/ytsimon2004/ccf2d.git
cd ccf2d

Conda Environment#

If you prefer using Conda for environment management:

# Create conda environment with Python 3.12
conda create -n ccf2d python=3.12 -y

# Activate environment
conda activate ccf2d

# Install package in development mode
pip install -e .

Verification#

After installation, verify that ccf2d is working correctly:

# Check if the command is available
ccf2d --help

# Initialize atlas data (this will download ~4.5GB)
ccf2d init

Note

If you encounter issues with llvmlite or numba dependencies on Python 3.12, this is a known compatibility issue with some atlas visualization libraries. The core registration functionality will still work.