From ac7bd8810562e54f4c5ce6c829295666b99e1292 Mon Sep 17 00:00:00 2001 From: yuvipanda Date: Wed, 27 Jun 2018 02:14:20 -0700 Subject: [PATCH] Hide stdout from pip installs --- tljh/conda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tljh/conda.py b/tljh/conda.py index dec553b..23894f9 100644 --- a/tljh/conda.py +++ b/tljh/conda.py @@ -61,7 +61,7 @@ def ensure_pip_packages(prefix, packages): abspath = os.path.abspath(prefix) pip_executable = [os.path.join(abspath, 'bin', 'python'), '-m', 'pip'] - subprocess.run(pip_executable + [ + subprocess.check_output(pip_executable + [ 'install', '--no-cache-dir', ] + packages)