Search code examples
pythonpipprogress-barcircleci

Pip install without progress bars


In my Django application I have a circle.yml file that runs 'pip install -r requirements/base.txt'. When I push up code, and check the CircleCI logs when there is an error, its hard to get to because there are so many dependencies and as of pip6 they started showing progress bars for the installations. Because of that it get busy pretty quick. I read on pip's github page that a few people were requesting a flag to the install command to remove the progress bars, but continue to show everything else like exceptions. something like

pip install --no-progress-bar foo

https://github.com/pypa/pip/pull/4194. It doesn't look like this has been released yet though. Is there any way to currently do this without using --no-cache-dir ?


Solution

  • That PR was merged and is available on the latest stable build (pip 10.0.1 at the time of writing). Just do:

    pip install foo --progress-bar off

    Other args are available. See the pip install docs.