pip install --upgrade pip' command code example

Example 1: upgrade pip

python -m pip install --upgrade pip

Example 2: upgrade pip

python -m pip install --upgrade pip
python3 -m pip install --upgrade pip # on mac

Example 3: 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 4: 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