pip3: add page (#3210)
This commit is contained in:

committed by
Agniva De Sarker

parent
5457a69c9d
commit
ab444b8972
32
pages/common/pip3.md
Normal file
32
pages/common/pip3.md
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# pip3
|
||||||
|
|
||||||
|
> Python package manager.
|
||||||
|
> More information: <https://pip.pypa.io>.
|
||||||
|
|
||||||
|
- Install a package:
|
||||||
|
|
||||||
|
`pip3 install {{package_name}}`
|
||||||
|
|
||||||
|
- Install a specific version of a package:
|
||||||
|
|
||||||
|
`pip3 install {{package_name}}=={{package_version}}`
|
||||||
|
|
||||||
|
- Upgrade a package:
|
||||||
|
|
||||||
|
`pip3 install --upgrade {{package_name}}`
|
||||||
|
|
||||||
|
- Uninstall a package:
|
||||||
|
|
||||||
|
`pip3 uninstall {{package_name}}`
|
||||||
|
|
||||||
|
- Save the list of installed packages to a file:
|
||||||
|
|
||||||
|
`pip3 freeze > {{requirements.txt}}`
|
||||||
|
|
||||||
|
- Install packages from a file:
|
||||||
|
|
||||||
|
`pip3 install --requirements {{requirements.txt}}`
|
||||||
|
|
||||||
|
- Show installed package info:
|
||||||
|
|
||||||
|
`pip3 show {{package_name}}`
|
Reference in New Issue
Block a user