Skip to content

Instantly share code, notes, and snippets.

@roma-guru
Created January 26, 2017 22:19
Show Gist options
  • Save roma-guru/36c19039e0922bc604120772bad1623e to your computer and use it in GitHub Desktop.
Save roma-guru/36c19039e0922bc604120772bad1623e to your computer and use it in GitHub Desktop.
Parallel pip download. Or wait here - https://github.com/pypa/pip/issues/825
# Preloading
cat requirements.txt | xargs -t -n1 -P9 pip install -q --download ./dist
# Installing with parallel native builds
pip install --install-option="--jobs=4" --no-index --find-links=./dist -r ./requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment