xxxxxxxxxx
# 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
xxxxxxxxxx
# INSTALLING A PACKAGE
pip install <package>
# UINSTALLING A PACKAGE
pip uninstall <package>
# UPDATING A PACKAGE
pip install --upgrade --user <package>
xxxxxxxxxx
##in console write: pip uninstall <packagename>
pip uninstall <packagename>