ctr-c pressed pip should return as soon as possible
See original GitHub issueWhat’s the problem this feature will solve?
- user can cancel operation when pip install software for a long time, other than waiting for timeout
- for example ,when the network is not well ,user must wait for about 10s to see the pip output
Operation cancelled by user
, if ctr-c is pressed I hope thepip command return as soon as possible
. Describe the solution you’d like
- I hope there is a ctr-c event handler
Alternative Solutions
- null
Additional context
- null
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
The Clearboard - California Trolley and Railroad Corporation
CTRC's annual Board of Directors' meeting will convene at 3:00 PM on Thursday, ... Please RSVP soon to Meg Fitts at 408/924-7569 with...
Read more >Untitled
TATUNG reserves the right to make improvement in the product described in this manual at any time and without prior notice, and the...
Read more >Download Panasonic owners manual PT51G50U user guide ...
Pressing the ACTION button again will return you back to the Audio Icon Audio Adjustments (cont) Located On Remote Control Selecis Desired Feature...
Read more >Guide to Writing a Terminal Monitor Program Dr a Command ...
A command processor must be able to perform the same functions when a subcommand name is entered. You can use the Command Scan...
Read more >TO 35E1-2-13-1 - Robins Air Force Base
This manual describes physical and/or chemical processes which may cause injury or death to personnel, or damage to equipment, if not properly followed....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s a very old version of pip, does the same thing happen with the latest version (19.0.3)? Also, it’s possible that Python 2’s handling of interrupts of network calls is not as good as Python 3’s - do you get the same result with Python 3?
Having said that, I stand by what I said above - I think that fundamentally this is an issue with somewhere lower in the stack than pip.
Hi @LIUHUANUCAS. In addition to what was suggested above, getting strace output while reproducing could also help pinpoint a cause which could lead to a system configuration parameter or something that could help this situation.
Since it looks like this is specific to the underlying Python or system configuration and there’s no action for pip specifically, I will close this issue, but please let us know if there is anything else that we can help with.