Installation Guide for Windows๏
This guide covers different methods for installing SpectroChemPy on Windows.
Requirements๏
Python 3.11 or newer
# Check python version
python --version # Should be 3.11 or newer
Environment Setup๏
Install Mambaforge:
Download Mambaforge
Run the installer
Open cmd prompt
Create environment:
mamba create --name scpy python=3.13 mamba activate scpy
Open Command Prompt
Create virtual environment:
python -m venv scpy scpy\Scripts\activate
Upgrade pip:
python -m pip install --upgrade pip
Installing SpectroChemPy๏
mamba install -c spectrocat spectrochempy
Development version:
mamba install -c spectrocat/label/dev spectrochempy
# Install SpectroChemPy
python -m pip install spectrochempy
# or if you want to install interactive version (including jupyter)
python -m pip install "spectrochempy[interactive]"
Verifying Installation๏
Start IPython:
ipython
Import SpectroChemPy:
In [1]: import spectrochempy as scp
Additional Tips๏
Creating a Permanent Environment Shortcut๏
Create a batch file (bat) with:
@REM launch cmd in scpy environment
@CALL CD C:\<yourWorkingFolder>
@CALL CMD /K C:\<yourMambaForgeFolder>\Scripts\activate.bat scpy
Save as activate-scpy.bat and create a shortcut named โMamba prompt (scpy)โ.
Next Steps๏
Proceed to the userguide to start using SpectroChemPy.
Note
If you encounter any issues, see Getting Help for support options.