Description: A snippet mention how to install the linode-cli and some problem encountered when install the linode-cli.
To install the linode-cli, python and pip is required.
It is better to create virtual environment for the linode-cli.
mkdir linode-cli
cd linode-cli
python -m venv venv
source venv/bin/activate
pip install linode-cli
Try test the linode-cli with:
linode-cli --help
If there is error message of no module named ‘packaging’

Solution works for me:
pip install pip --upgrade
pip install packaging # the key should be on this command, the previous maybe not important