1#Install pip for python 2.7
2curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
3sudo python2 get-pip.py
4
5#Install pip3
6sudo apt install python3-pip
1python -m pip download [options] <requirement specifier> [package-index-options] ...
2python -m pip download [options] -r <requirements file> [package-index-options] ...
3python -m pip download [options] <vcs project url> ...
4python -m pip download [options] <local project path> ...
5python -m pip download [options] <archive url/path> ...
6
7