How to install the Python package opt-einsum with pip

By Where is my Python module

python
pip
opt-einsum

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

pip install opt-einsum