diff --git a/install-poetry.py b/install-poetry.py index 2eb61b53183..4b47d82da4d 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -440,7 +440,7 @@ def _is_self_upgrade_supported(x): self.install(version) except subprocess.CalledProcessError as e: print( - colorize("error", f"\nAn error has occurred: {e}\n{e.stderr.decode()}") + colorize("error", f"\nAn error has occurred: {e}\n{e.stdout.decode()}") ) return e.returncode