Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easy_install cache downloaded files

Is there a way to configure easy_install to avoid having to download the files again when an installation fails?

like image 550
Sam Avatar asked Feb 09 '09 19:02

Sam


1 Answers

Update 13 years later: easy_install was removed from Python in January 2021. The python package manager is pip, it caches downloaded packages.

pip (http://pypi.python.org/pypi/pip/) is a drop-in replacement for the easy_install tool and can do that.

Just run easy_install pip and set an environment variable PIP_DOWNLOAD_CACHE to the path you want pip to store the files. Note that the cache won't work with dependencies that checkout from a source code repository (like svn/git/hg/bzr).

Then use pip install instead of easy_install

like image 76
3 revs, 2 users 88% Avatar answered Sep 30 '22 06:09

3 revs, 2 users 88%