pip reinstall force code example
Example 1: pip reinstall
pip install --upgrade --force-reinstall <package>
Example 2: how to reinstall a python package
pip install -I <package>
pip install --ignore-installed <package>
pip install --upgrade --force-reinstall <package>
pip install -I <package>
pip install --ignore-installed <package>