updating python packages code example
Example 1: how to update a module in python
pip install [package] --upgrade
Example 2: upgrading a pip package while importing it
pip install [package_name] --upgrade
pip install [package] --upgrade
pip install [package_name] --upgrade