-
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
pip hangs even at simple commands #3360
Comments
Does this happen if you pass |
I finally got to try it out. Still takes 7 seconds to do a |
From what I rememeber when I had looked at it, one major source of slowness came from the import of From a small sample of calls:
We could maybe try to only import pkg_resources when necessary but I don't feel this is a major issue. |
I agree this is not major. Just annoying when you work with slow hardware, like the Raspberry Pi :) |
Lack of performance on the Raspberry Pi doesn't seem to be a pip issue, but a python's one. Most python applications that load multiple libraries take a huge time to start. I don't believe there will be something to do on pip's side. |
Closing this, this seems to be an issue related to the performance of the Raspberry Pi and there's not much pip can do about it. |
I'd fallen into this issue since I started using
It seems caused by pip, since both pip2 and pip3 are compareable slow:
I couldn't belive that this is caused by the hardware of the Raspberry Pi. I tested this on both Raspberry 2 and 3, both are slow on docker-compose/pip. Altough the Pi3 is faster than the 2. Only Pip seems affected, cause other tools like docker itself are pretty fast:
|
@DMWOO7 That is indeed something we're looking into improving in the future -- there's #4768 for that. |
After finding my old Raspberry Pi and starting to play with it, it has become apparent to me that pip hangs initially on every command. Even a simple
pip -h
takes 7 seconds on my Raspberry Pi.I checked this on my regular computer, and noticed a small delay on that one too. something that works purely locally, like
pip -h
orpip freeze
, should be blazing fast.The text was updated successfully, but these errors were encountered: