how to uninstall modules in python code example
Example 1: pip remove
# python2
pip uninstall package_name
# python3
pip3 uninstall package_name
Example 2: uninstall package with pip
##in console write: pip uninstall <packagename>
pip uninstall <packagename>
Example 3: uninstall a python package from virtualenv
pip uninstall <packagename>