installing other versions of pip packages code example
Example 1: update pip module
pip install [package_name] -U
Example 2: upgrading a pip package while importing it
pip install [package_name] --upgrade
pip install [package_name] -U
pip install [package_name] --upgrade