mirror of https://github.com/pypa/pip
64 lines
1.2 KiB
ReStructuredText
64 lines
1.2 KiB
ReStructuredText
.. _`pip uninstall`:
|
|
|
|
=============
|
|
pip uninstall
|
|
=============
|
|
|
|
.. contents::
|
|
|
|
|
|
Usage
|
|
=====
|
|
|
|
.. tabs::
|
|
|
|
.. group-tab:: Unix/macOS
|
|
|
|
.. pip-command-usage:: uninstall "python -m pip"
|
|
|
|
.. group-tab:: Windows
|
|
|
|
.. pip-command-usage:: uninstall "py -m pip"
|
|
|
|
|
|
Description
|
|
===========
|
|
|
|
.. pip-command-description:: uninstall
|
|
|
|
|
|
Options
|
|
=======
|
|
|
|
.. pip-command-options:: uninstall
|
|
|
|
|
|
Examples
|
|
========
|
|
|
|
#. Uninstall a package.
|
|
|
|
.. tabs::
|
|
|
|
.. group-tab:: Unix/macOS
|
|
|
|
.. code-block:: console
|
|
|
|
$ python -m pip uninstall simplejson
|
|
Uninstalling simplejson:
|
|
/home/me/env/lib/python2.7/site-packages/simplejson
|
|
/home/me/env/lib/python2.7/site-packages/simplejson-2.2.1-py2.7.egg-info
|
|
Proceed (y/n)? y
|
|
Successfully uninstalled simplejson
|
|
|
|
.. group-tab:: Windows
|
|
|
|
.. code-block:: console
|
|
|
|
C:\> py -m pip uninstall simplejson
|
|
Uninstalling simplejson:
|
|
/home/me/env/lib/python2.7/site-packages/simplejson
|
|
/home/me/env/lib/python2.7/site-packages/simplejson-2.2.1-py2.7.egg-info
|
|
Proceed (y/n)? y
|
|
Successfully uninstalled simplejson
|