how to upgrade pip for python 3.6 code example
Example 1: update pip
sudo pip3 install --upgrade pip
Example 2: update pip module
pip install [package_name] -U
sudo pip3 install --upgrade pip
pip install [package_name] -U