TJB*_*TJB 8 python pip progress-bar circleci
在我的Django应用程序中,我有一个运行'pip install -r requirements/base.txt'的circle.yml文件.当我推高代码,并在出现错误时检查CircleCI日志时,很难获得,因为有很多依赖关系,并且从pip6开始,它们开始显示安装的进度条.因为它很快就忙.我在pip的github页面上读到,有些人正在请求安装命令的标志来删除进度条,但继续显示其他所有内容,例如异常.就像是
pip install --no-progress-bar foo
https://github.com/pypa/pip/pull/4194.尽管如此,它看起来并没有被释放.有没有办法在没有使用 - no-cache-dir的情况下执行此操作?
默认情况下使用pip config关闭这些:
pip config --user set global.progress_bar off
Run Code Online (Sandbox Code Playgroud)
(也许--user为管理员删除,或--venv为 virtualenv使用替换)