One of the simpler methods it to use pip wheel
if you are going to install on the same platform.
$ mkvirtualenv -p python3 foo
$ mkdir baz ; cd baz
$ pip wheel pip wheel numpy pandas seaborn
Will download the dependencies to the local directory.
$ pip install ./*.whl
Installing collected packages: six, cycler, kiwisolver, pyparsing, pytz, python-dateutil, matplotlib, pandas, scipy, seaborn
You can also use pip download
but it is less likely to grab all of the needed sub-dependencies.
Where as the output from pip wheel
will show:
Saved ./Glances-2.11.1-cp36-none-any.whl
Collecting python-dateutil>=2.5.0 (from pandas)
You can copy or specify a directory to save to then install with:
$ pip install --no-index --find-links=/srv/foo/wheels project
If you have larger needs you can use projects like devpi or pyenv or consider using fpm to create rpms, debs, pkgs etc...