Progress bar for the collect step
See original GitHub issueWhat’s the problem this feature will solve?
I run a pip install -r requirements.ini, and it is stuck in this output for over an hour now:
Collecting torch==1.5.0
Downloading torch-1.5.0-cp36-cp36m-manylinux1_x86_64.whl (752.0 MB)
Though the slowness in downloading the torch library is probably not an issue of pip, I think that a progress bar showing how much time more I could expect to wait.
Describe the solution you’d like
A progress bar in pip output when downloading the libraries
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
ProgressBar.PerformStep Method (System.Windows.Forms)
The PerformStep method increments the value of the progress bar by the amount specified by the Step property. You can use the Step...
Read more >Progress Step UI Design Patterns: Tips, Freebies & Code ...
In the past, we covered progress bars and for this post, I'd like to cover progress steps with design ideas, free graphics, and...
Read more >20644 results for step progress bar in all
Search from thousands of royalty-free Step Progress Bar stock images and video for your next project. Download royalty-free stock photos, vectors, ...
Read more >Step By Step Progress Bar royalty-free images
30,567 step by step progress bar stock photos, vectors, and illustrations are available royalty-free. See step by step progress bar stock video clips....
Read more >How to create multi step progress bar using Bootstrap
Progress bars are used to visualize the quantity of work that's been completed. The strength of the progress bar indicates the progress of...
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 Free
Top 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
pip does show the download prompt when the terminal it’s being used in is interactive.
In this case, as @eamanu showed, the terminal is not interactive (isatty is False) which disables the progress bar – to pip, it’s the same as if it were dumping output to a text file, since that also looks the same to pip.
Hi,
After make some tests the progress-bar run good into my computer (Debian testing) and into the Dockefile provided by @hershkoy, after attach the docker and run the pip install torch.
I’m not expert on Docker so sorrry for the things that I will write: running
docker build
it doesn’t provide a tty. So the progress-bar is not show it.Because pip use progress-bar for show the progress bar, and this how mention @McSinyx will print the progress bar if a tty is connected. But for
docker run
this seems not to be happen.