Installation Guide for Mac OSX and Linux

This guide covers different methods for installing SpectroChemPy on MacOS or Linux.

Requirements

  • Python 3.10 or newer

# Check python version
python --version  # Should be 3.10 or newer

Environment Setup

We strongly recommend using mamba as it’s significantly faster at resolving dependencies.

  1. Install Mambaforge

Download and install Mambaforge

  1. Add required channels:

mamba config --add channels conda-forge
mamba config --add channels spectrocat
  1. Create and activate environment

# Create new environment
mamba create -n scpy python=3.10

# Activate it
mamba activate scpy

Install SpectroChemPy

Stable version

mamba install -c spectrocat spectrochempy

Development version

mamba install -c spectrocat/label/dev spectrochempy

Verifying Installation

  1. Start IPython:

    ipython
    
  2. Import SpectroChemPy:

    In [1]: from spectrochempy import *
    

    You should see:

    SpectroChemPy's API - v.0.6.10
    © Copyright 2014-2025 - A.Travert & C.Fernandez @ LCS
    

Next Steps

Proceed to the userguide to start using SpectroChemPy.

Note

If you encounter any issues, see Getting Help for support options.