diff --git a/install-poetry.py b/install-poetry.py index 3b7d2b9..8276cc3 100644 --- a/install-poetry.py +++ b/install-poetry.py @@ -314,7 +314,11 @@ class VirtualEnvironment: import ensurepip # noqa: F401 import venv - builder = venv.EnvBuilder(clear=True, with_pip=True, symlinks=False) + builder = ( + venv.EnvBuilder(clear=True, with_pip=True, symlinks=False) + if WINDOWS + else venv.EnvBuilder(clear=True, with_pip=True, symlinks=True) + ) context = builder.ensure_directories(target) if (