python 2.7 download 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: python 3.7 download
# https://www.python.org/downloads/release/python-370/
# change the last 3 digits in the link to determine version
# (e.g: '370' -> 3.7.0 && if you want 3.7.5 version just change them to '375')
Example 3: latest version of python
# For macs...
# Apparently you don't want to upgrade 2.* just install 3.*
% brew install python3
Example 4: python 3 download
# https://www.python.org/ftp/python/3.8.2/python-3.8.2.exe
Example 5: 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