Custom Search

Tuesday, February 25, 2014

How to Python pip install fast install from local archives

Fast & Local Installs

Often, you will want a fast install from local archives, without probing PyPI.

First, download the archives that fulfill your requirements:

$ pip install --download -r requirements.txt


Then, install using –find-links and –no-index:

$ pip install --no-index --find-links=[file://] -r requirements.txt


http://www.pip-installer.org/en/latest/user_guide.html#fast-local-installs



No comments:

Post a Comment