Add debug logging for pip install command (#61057)
parent
5bd1139867
commit
ab75efda9a
|
@ -93,6 +93,7 @@ def install_package(
|
|||
# Workaround for incompatible prefix setting
|
||||
# See http://stackoverflow.com/a/4495175
|
||||
args += ["--prefix="]
|
||||
_LOGGER.debug("Running pip command: args=%s", args)
|
||||
with Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE, env=env) as process:
|
||||
_, stderr = process.communicate()
|
||||
if process.returncode != 0:
|
||||
|
|
Loading…
Reference in New Issue