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