how to uninstall packages python code example
Example 1: pip remove
# python2
pip uninstall package_name
# python3
pip3 uninstall package_name
Example 2: uninstall a python package from virtualenv
pip uninstall <packagename>
# python2
pip uninstall package_name
# python3
pip3 uninstall package_name
pip uninstall <packagename>