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