pip/docs/html/reference/pip_uninstall.rst

64 lines
1.2 KiB
ReStructuredText
Raw Normal View History

2014-02-12 06:55:43 +01:00
.. _`pip uninstall`:
=============
2014-02-12 06:55:43 +01:00
pip uninstall
=============
2014-02-12 06:55:43 +01:00
.. contents::
2020-02-11 14:05:28 +01:00
2014-02-12 06:55:43 +01:00
Usage
2020-02-11 14:00:03 +01:00
=====
2014-02-12 06:55:43 +01:00
.. tabs::
.. group-tab:: Unix/macOS
.. pip-command-usage:: uninstall "python -m pip"
.. group-tab:: Windows
.. pip-command-usage:: uninstall "py -m pip"
2014-02-12 06:55:43 +01:00
2020-02-11 14:05:28 +01:00
2014-02-12 06:55:43 +01:00
Description
2020-02-11 14:00:03 +01:00
===========
2014-02-12 06:55:43 +01:00
.. pip-command-description:: uninstall
2020-02-11 14:05:28 +01:00
2014-02-12 06:55:43 +01:00
Options
2020-02-11 14:00:03 +01:00
=======
2014-02-12 06:55:43 +01:00
.. pip-command-options:: uninstall
Examples
2020-02-11 14:00:03 +01:00
========
2014-02-12 06:55:43 +01:00
#. Uninstall a package.
2014-02-12 06:55:43 +01:00
.. 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
2014-02-12 06:55:43 +01:00
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