Skip to content

Instantly share code, notes, and snippets.

@blachniet
Created March 27, 2015 12:48
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save blachniet/94f43f01124c94151dc4 to your computer and use it in GitHub Desktop.
Save blachniet/94f43f01124c94151dc4 to your computer and use it in GitHub Desktop.
Install pip packages in an offline environment
# 1. On a internet-connected device, download the package and its dependencies to a directory
mkdir pip-es-curator
pip install --ignore-installed -d ./pip-es-curator elasticsearch-curator
# 2. Move the directory containing the packages to the offline device
# 3. On the offline device, install the package from the transferred directory
pip install --no-index --find-links ./pip-es-curator elasticsearch-curator
@hhouissa
Copy link

Is this for a windows environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment