1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 18:26:02 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}}`