mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
another 'pip freeze' example
This commit is contained in:
parent
0fb4a28b17
commit
8979b3fe8e
|
@ -220,6 +220,15 @@ Examples
|
|||
docutils==0.9.1
|
||||
|
||||
|
||||
2) Generate a requirements file and then install from it in another environment.
|
||||
|
||||
::
|
||||
|
||||
$ env1/bin/pip freeze > requirements.txt
|
||||
$ env2/bin/pip install -r requirements.txt
|
||||
|
||||
|
||||
|
||||
pip list
|
||||
---------
|
||||
|
||||
|
|
Loading…
Reference in a new issue