diff --git a/install-poetry.py b/install-poetry.py index 7c9796b8959..9980ff53cd7 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -584,7 +584,8 @@ def install_poetry(self, version: str, env_path: Path) -> None: subprocess.run( [str(python), "-m", "pip", "install", specification], - capture_output=True, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT, check=True, )