pip-install: add page (#4983)

This commit is contained in:
Azat Akhmetov
2020-12-30 05:25:03 -08:00
committed by GitHub
parent c1c8c1bcf3
commit 97bfd149cf
2 changed files with 21 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
# pip install
> Install Python packages.
> More information: <https://pip.pypa.io>.
- Install a package:
`pip install {{package_name}}`
- Install a specific version of a package:
`pip install {{package_name}}=={{package_version}}`
- Install packages listed in a file:
`pip install -r {{requirements.txt}}`
- Install the local package in the current directory in develop (editable) mode:
`pip install -e .`

View File

@@ -3,14 +3,10 @@
> Python package manager.
> More information: <https://pip.pypa.io>.
- Install a package:
- Install a package (see `pip install` for more install examples):
`pip install {{package_name}}`
- Install a specific version of a package:
`pip install {{package_name}}=={{package_version}}`
- Upgrade a package:
`pip install -U {{package_name}}`
@@ -23,10 +19,6 @@
`pip freeze > {{requirements.txt}}`
- Install packages from file:
`pip install -r {{requirements.txt}}`
- Show installed package info:
`pip show {{package_name}}`