2.1. Installing Python and Kinetics Toolkit#
This section shows you how to install Python, its main scientific packages such as NumPy, Matplotlib, and the Kinetics Toolkit package.
Note
While Kinetics Toolkit is available on both conda-forge and PyPI, we only support conda-forge in this guide since it facilitates the management of virtual environments.
2.1.1. Step 1 - Install a conda distribution#
Download and install one of these conda distribution:
Note
Both are mostly equivalent. In general, Miniforge installs packages faster because it comes with mamba. However, Miniconda is easier to install on macOS because it has a user-friendly installation wizard.
2.1.2. Step 2 - Install Kinetics Toolkit#
These command create the ktk environment. We recommend installing in such a separate environment; this way, when you will mess up (we all do), you can simply delete and recreate the environment.
Open Miniforge Prompt (on Windows) or a terminal (on macOS) and type:
mamba create -n ktk kineticstoolkit spyder-kernels
Open Anaconda Prompt (on Windows) or a terminal (on macOS) and type:
conda create -n ktk -c conda-forge kineticstoolkit spyder-kernels
Press y to confirm and wait until the installation completes.