How to install/update/upgrade pip#

Manual Installation or update:#

  1. Securely download get-pip.py
wget https://bootstrap.pypa.io/get-pip.py
  1. Run the Install script
python get-pip.py

Use pip to upgrade itself#

pip install -U pip

or

pip install --upgrade pip

Use debian package manager to install / upgrade#

sudo apt-get install python-pip