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

19,763

Solution 1

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

Solution 2

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

$ pip -v --log /tmp/pip.log install $python_pkg --upgrade
Share:
19,763

Related videos on Youtube

mightyiam
Author by

mightyiam

Updated on June 12, 2022

Comments

  • mightyiam
    mightyiam about 2 years

    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.

  • Rambatino
    Rambatino about 6 years
    That doesn't give the percent progress!!