python upgrade pip package code example
Example 1: how to update a module in python
pip install [package] --upgrade
Example 2: update pip
sudo pip3 install --upgrade pip
pip install [package] --upgrade
sudo pip3 install --upgrade pip