How can I get `pip install`'s download progress?
Asked Answered
C

3

41

Using pip install on some large package doesn't show any progress report while downloading.

Using the -v, --verbose option doesn't do it and there doesn't seem to be any other relevant option.

Cuyler answered 25/12, 2013 at 9:18 Comment(0)
T
23

At least pip9 has -v option which prints debug msg during installation of the package.

$ pip --version                                                                                                                                                                                                                 
pip 9.0.1

Help:

$ pip install --help
..
..
-v, --verbose               Give more output. Option is additive, and can be used up to 3 times.

Usage:

pip install -r requirements.txt -vvv
Tempera answered 14/2, 2017 at 19:32 Comment(1)
That doesn't give the percent progress!!Contradance
P
5

Seems that pip needs a --log argument to echo to the screen, e.g.:

$ pip -v --log /tmp/pip.log install $python_pkg --upgrade
Pruinose answered 18/4, 2016 at 9:42 Comment(0)
A
0

For anyone not getting progress pip reports on Windows in 2024 and using git-bash:

$ winpty pip install $python_pkg

to get live progress report into your terminal.

Adelleadelpho answered 11/7 at 15:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.