Installation Guideο
Prerequisitesο
SpectroChemPy requires Python 3.11 or higher (tested up to 3.14). Python is a widely-adopted
scientific programming language, particularly suited for data analysis and scientific computing.
Installing Pythonο
Conda Package Managers (Recommended)ο
We recommend using one of these package managers for installing Python and managing dependencies:
Anaconda - Full scientific distribution (~3GB)
Miniconda - Minimal distribution (~400MB)
Mamba - Fast alternative to conda
Micromamba - Minimal mamba
Installation Stepsο
Download your chosen package manager
Run the installer for your platform
Open a terminal/command prompt
Verify the installation:
conda --version # or mamba --version
Alternative Installation Methodsο
Using Homebrew:
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Python
brew install python
# Verify installation
python3 --version
Using Official Installer:
Download from Python.org (macOS)
Run the installer
Verify with
python3 --version
Using Official Installer:
Download from Python.org (Windows)
Run installer (check βAdd Python to PATHβ)
Verify with
python --version
Using Microsoft Store:
Search for βPythonβ in Microsoft Store
Install the latest version
Verify in Command Prompt
Most distributions include Python. To install a specific version:
Ubuntu/Debian:
sudo apt update
sudo apt install python3.13
Fedora:
sudo dnf install python3.13
Installing SpectroChemPyο
Create Environmentο
First, create and activate a dedicated environment:
# Using conda/mamba
mamba create -n scpy python=3.13
mamba activate scpy
# OR using venv (if not using conda/mamba)
python -m venv scpy
source scpy/bin/activate # On Windows: scpy\Scripts\activate
Install Packageο
mamba install -c spectrocat spectrochempy
conda install -c spectrocat spectrochempy
python -m pip install spectrochempy
Additional Resourcesο
For more detailed instructions and alternative installation methods:
Installation Guide for Windows - Windows installation
Installation Guide for Mac OSX and Linux - macOS/Linux installation
Install in Google Colaboratory (Colab) - Using Google Colab
Optional Dependencies - Additional components
Installation from Sources - Installing from sources