does uninstalling a library with pip remove its requirements code example
Example: pip remove
# python2
pip uninstall package_name
# python3
pip3 uninstall package_name
# python2
pip uninstall package_name
# python3
pip3 uninstall package_name