mirror of https://github.com/cheat/cheat.git
Update pip: dealing with requirement files
add `pip freeze > requirements.txt` and `pip install -r requirements.txt`.
This commit is contained in:
parent
30a49d3596
commit
b2e1400bb6
|
@ -4,6 +4,10 @@ pip search SomePackage
|
|||
# Install some packages
|
||||
pip install SomePackage
|
||||
|
||||
# Output and install packages in a requirement file
|
||||
pip freeze > requirements.txt
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Show details of a package
|
||||
pip show SomePackage
|
||||
|
||||
|
|
Loading…
Reference in New Issue