Add pip.md
This commit is contained in:
23
common/pip.md
Normal file
23
common/pip.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# pip
|
||||
|
||||
> Python package manager
|
||||
|
||||
- Install a package
|
||||
|
||||
`pip install {{somepackage}}
|
||||
|
||||
- Upgrade a package
|
||||
|
||||
`pip install -U {{somepackage}}
|
||||
|
||||
- Uninstall a package
|
||||
|
||||
`pip uninstall {{somepackage}}`
|
||||
|
||||
- Save installed packages to file
|
||||
|
||||
`pip freeze > {{requirements.txt}}`
|
||||
|
||||
- Install packages from file
|
||||
|
||||
`pip install -r {{requirements.txt}}`
|
Reference in New Issue
Block a user