-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Pip locks up after failing to download a package due to network error. #5034
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
Comments
Hey! Thanks for filing the bug report! :) Could you post the entire log when running |
The command was different. It was
|
Oh, and operating system is probably not mac, this is running in docker container based on ubuntu. |
What's your |
I have just tried to run it with a simplified requirements file, containing only
This easily reproducible. Try to install it, then make a mess of your internet connection. After that even when having a stable internet connection, it is never possible to install the package. |
I've run into the same issue. Not sure if the actual packages matter or, if as suggested, it's a symptom of some network or other issue. But the packages involved for me so far are: However, deleting pip's cache directory DID result in proper installation for me. I.e. not a custom cache directory |
From poking, on my system, it seems to be caused by the lockfile infinite looping problems posted in some other issues. I get a traceback ending in the |
Issues related to the self-check state locking will be satisfied by #6954. |
Description:
If you try to install a package from git repository, with package pinned to a tag or a commit, and this fails due to network issues, all other attempts give
removing the cache directory does not help.
What I've run:
The text was updated successfully, but these errors were encountered: