python uninstall api code example Example: uninstall a python package from virtualenv pip uninstall <packagename>