pip update package to version code example
Example 1: pip upgrade package
pip install Django --upgrade
Example 2: update pip
sudo pip3 install --upgrade pip
Example 3: pip upgrade package
pip install Django -U
Example 4: pip upgrade package
pip install [package_name] --upgrade