how to remove a python library package code example Example: uninstall a python package from virtualenv pip uninstall <packagename>