pip install with dependencies code example

Example 1: how to install dependencies python

# Use PowerShell, Bash, CMD, etc.
pip install foo-pkg

# Automatically installs dependencies!

Example 2: install pip

python -m pip download [options] <requirement specifier> [package-index-options] ...
python -m pip download [options] -r <requirements file> [package-index-options] ...
python -m pip download [options] <vcs project url> ...
python -m pip download [options] <local project path> ...
python -m pip download [options] <archive url/path> ...