How to install the Python package when with pip

By Where is my Python module

python
pip
when

Run the following command to install the package and its dependencies.

pip install when