417
edits
Red Leader (talk | contribs) (Remove stub template altogether) |
(→Using pip (generic method): Explain how to remove software from a venv) |
||
Line 670: | Line 670: | ||
like 1.9.0b1, etc. All this is explained in | like 1.9.0b1, etc. All this is explained in | ||
[https://www.python.org/dev/peps/pep-0440/ PEP 0440] if you are interested) | [https://www.python.org/dev/peps/pep-0440/ PEP 0440] if you are interested) | ||
====== How to uninstall ====== | |||
Let's assume you have a virtual environment based at directory <venv-dir> and | |||
you want to uninstall two Python packages named ''pkg1'' and ''pkg2'' from | |||
this virtual environment (one of these packages could be <tt>ffgo</tt>, for | |||
instance). All you have to do is: | |||
<pre><venv-dir>/bin/pip uninstall pkg1 pkg2</pre> | |||
If you'd rather get rid of the whole virtual environment, just delete its base | |||
directory <venv-dir>. That is all there is to it! | |||
==== MacOS X ==== | ==== MacOS X ==== |
edits