how to pip uninstall and reinstall code example Example: pip reinstall pip install --upgrade --force-reinstall <package>