How to install the Python package ec2-compare with pip

By Where is my Python module

python
pip
ec2-compare

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

pip install ec2-compare