mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Hide stdout from pip installs
This commit is contained in:
@@ -61,7 +61,7 @@ def ensure_pip_packages(prefix, packages):
|
|||||||
abspath = os.path.abspath(prefix)
|
abspath = os.path.abspath(prefix)
|
||||||
pip_executable = [os.path.join(abspath, 'bin', 'python'), '-m', 'pip']
|
pip_executable = [os.path.join(abspath, 'bin', 'python'), '-m', 'pip']
|
||||||
|
|
||||||
subprocess.run(pip_executable + [
|
subprocess.check_output(pip_executable + [
|
||||||
'install',
|
'install',
|
||||||
'--no-cache-dir',
|
'--no-cache-dir',
|
||||||
] + packages)
|
] + packages)
|
||||||
|
|||||||
Reference in New Issue
Block a user