diff --git a/src/poetry/utils/pip.py b/src/poetry/utils/pip.py index 24f9cbacc29..65414ac36b2 100644 --- a/src/poetry/utils/pip.py +++ b/src/poetry/utils/pip.py @@ -25,7 +25,13 @@ def pip_install( # either the virtual environment or the virtualenv package embedded wheel. Version # checks are a wasteful network call that adds a lot of wait time when installing a # lot of packages. - args = ["install", "--disable-pip-version-check", "--prefix", str(environment.path)] + args = [ + "install", + "--disable-pip-version-check", + "--isolated", + "--prefix", + str(environment.path), + ] if not is_wheel and not editable: args.insert(1, "--use-pep517")