# remove package only
pip uninstall <package_name>
# remove package and dependencies
pip-autoremove <package_name>
##in console write: pip uninstall <packagename>
pip uninstall <packagename>
#the best way to install pip if uninstalled is using the following command
python -m ensurepip
# not only it will check whether there is pip installed , it will install
# for you if not found
pip uninstall <package_name>
To install it again : python -m pip install --upgrade pip
# if pip installed then use 'pip uninstall packagename'
sudo apt-get --purge autoremove packagename
# --auto-remove removes orphaned dependencies
# --purge removes config files
# remove leaves dependencies and configs
This is in windows command prompt or powershell
python -m ensurepip --upgrade
pip uninstall <package-name>