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
Often, you will want a fast install from local archives, without probing PyPI.
First, download the archives that fulfill your requirements:
$ pip install --download
Then, install using –find-links and –no-index:
$ pip install --no-index --find-links=[file://]
http://www.pip-installer.org/en/latest/user_guide.html#fast-local-installs
No comments:
Post a Comment