From bc002a62f4317b106e069ba142099cf4502f91cd Mon Sep 17 00:00:00 2001 From: Christian Zagrodnick Date: Thu, 31 Aug 2023 09:13:04 +0200 Subject: [PATCH] Fix creating venv on macos with homebrew #40 --- src/appenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appenv.py b/src/appenv.py index 94b2c12..0a0ae56 100755 --- a/src/appenv.py +++ b/src/appenv.py @@ -68,7 +68,7 @@ def ensure_venv(target): version = sys.version.split()[0] python_maj_min = ".".join(str(x) for x in sys.version_info[:2]) print("Creating venv ...") - venv.create(target, with_pip=False) + venv.create(target, with_pip=False, symlinks=True) try: # This is trying to detect whether we're on a proper Python stdlib