-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLOW downloads with pip, but not wget from same site (how to troubleshoot?) #864
Comments
Most likely because of the crawling pip does to retain backwards compatibility with easy_install. See http://www.python.org/dev/peps/pep-0438/ . |
I guess that's exacerbated by a slow network - since there's no lag when I'm on a fat pip (like my Linode VPS). But when I'm home on a 1MB DSL line, I have to wait literally like 10 minutes for a single package like |
use this process to get the downloads once, and use locally thereafter. |
Until PEP438 is implemented you can also use the restricted API of Crate.io, pip install -i https://restricted.crate.io/ this will only install releases that are directly hosted. |
Thanks for the suggestions! I'll give them a try! |
@qwcode Just using the @dstufft Using https://restricted.crate.io/ did help. Thanks, guys. |
@yekibud, the advice wasn't "just using --download". the cookbook entry helps in the case where you'll be installing many of the same things over and over, which is common. you download those things only once (the first command), and then thereafter just install from a local cache (the 2nd command). |
@qwcode I see how that could be useful - thanks - but speeding up my installs for scenarios like that wasn't really the problem I was having. I couldn't even get past e.g. |
I can wget e.g. python coverage and pip install the package locally quickly and without any problem, but pip install coverage takes forever. Using pip 1.3.1 in a virtual env on Ubuntu 12.04. Any idea what could be the hold-up?
I've tried using pip install --use-mirrors.
The text was updated successfully, but these errors were encountered: