pip 2.7 code example
Example 1: how to install pip
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
#Once you do that, enter line 3 inside
python get-pip.py
Example 2: pip version
pip --version
Example 3: get-pip 20.2.3 dowload
$ pip download SomePackage
$ pip download -d . SomePackage # equivalent to above
$ pip download --no-index --find-links=/tmp/wheelhouse -d /tmp/otherwheelhouse SomePackage