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

33k Views Asked by At

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.

2

There are 2 best solutions below

1
On

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
0
On

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

$ pip -v --log /tmp/pip.log install $python_pkg --upgrade