pip remove package and dependencies code example Example: pip remove package pip uninstall <package_name>