Easy_install cache downloaded files

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 … Read more

Equivalent for `–find-links` in `setup.py`

In a setuptools context the dependency_links option should do what you need. According to setuptools documentation, this option accepts: the URLs of web pages that contain direct download links for example: setuptools.setup( # … dependency_links=[ “http://peak.telecommunity.com/snapshots/”, ], ) Important note regarding pip: Since its version 19.0, released on 2019-01-22, pip ignores the setuptools options dependency_links. … Read more

Why is Python easy_install not working on my Mac?

Check your /usr/bin and /usr/local/bin for easy_install installations and remove any old script: sudo rm -f /usr/bin/easy_install* sudo rm -f /usr/local/bin/easy_install* Download and run distribute: curl -O https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py sudo python distribute_setup.py sudo rm distribute_setup.py Try again, and enjoy. E.g.: sudo easy_install pip

Can I use `pip` instead of `easy_install` for `python setup.py install` dependency resolution?

Yes you can. You can install a package from a tarball or a folder, on the web or your computer. For example: Install from tarball on web pip install https://pypi.python.org/packages/source/r/requests/requests-2.3.0.tar.gz Install from local tarball wget https://pypi.python.org/packages/source/r/requests/requests-2.3.0.tar.gz pip install requests-2.3.0.tar.gz Install from local folder tar -zxvf requests-2.3.0.tar.gz cd requests-2.3.0 pip install . You can delete the … Read more