Cantera is an open-source suite of tools for problems involving chemical kinetics, thermodynamics, and transport processes. Current version is 3.2.0, released November 2025. Major releases approximately yearly, with minor patches as needed.
pip install canteraVerified import paths — ran on the pinned version, not inferred.
Load GRI 3.0 mechanism, set temperature and pressure, and compute chemical equilibrium.
Convert .cti files to .yaml using provided conversion script (cti2yaml) or update paths to use .yaml mechanisms.
Replace old-style setters with direct property assignment. See migration guide.
Replace ct.importInterface('file.yaml', 'phase_name') with ct.Interface('file.yaml', 'phase_name').Install VC++ Redistributable from Microsoft (see Cantera installation docs).
Use a precompiled wheel: pip install cantera --only-binary cantera. Or install build tools (Cython, compilers) for source build.
Ensure the mechanism file is in YAML format. Convert .cti or .xml using cti2yaml or ck2yaml.
Use import cantera as ct then ct.Solution(...). Ensure Cantera >= 2.3.