how to uninstall in pip4 code example Example 1: pip remove package pip uninstall Example 2: uninstall a python package from virtualenv pip uninstall