diff --git a/poetry/installation/executor.py b/poetry/installation/executor.py index 6e48278b029..78a58595f6e 100644 --- a/poetry/installation/executor.py +++ b/poetry/installation/executor.py @@ -280,7 +280,7 @@ def _increment_operations_count(self, operation, executed): def run_pip(self, *args, **kwargs): # type: (...) -> int try: - self._env.run("python", "-m", "pip", *args, **kwargs) + self._env.run_pip(*args, **kwargs) except EnvCommandError as e: output = decode(e.e.output) if (