TOOL » PIP

Install

Usage

shell
pip install OPTIONS PACKAGE_NAME
OptionDescription
-r --requirementInstall from the given requirements file.
-e --editableInstall a project in editable mode.
-U --upgradeUpgrade all specified packages to the newest available version.
-t --targetInstall packages into dir.
--userInstall to the Python user install directory (~/.local/bin).

Install a package into a python/ directory (may be used for creating an AWS lambda layer):

shell
mkdir python
pip install -t python/ PACKAGE