-
-
Save vagabondan/e2aa20ea6ac40885f5db87ead727c28c to your computer and use it in GitHub Desktop.
Install pip packages in an offline environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment