From af4ef26c3389112ce40d4f5237facb5744c4bc65 Mon Sep 17 00:00:00 2001 From: sorensolari Date: Sat, 26 Jan 2019 15:06:30 -0800 Subject: [PATCH] provides fix for pip installing modules that may exist in active environment --- toolchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain.py b/toolchain.py index 13e3cde..c835436 100755 --- a/toolchain.py +++ b/toolchain.py @@ -1417,7 +1417,7 @@ Xcode: pip_path = sh.which("pip") pip_args = [] if len(sys.argv) > 2 and sys.argv[2] == "install": - pip_args = ["--isolated", "--prefix", ctx.python_prefix] + pip_args = ["--isolated", "--ignore-installed", "--prefix", ctx.python_prefix] args = [pip_path] + [sys.argv[2]] + pip_args + sys.argv[3:] else: args = [pip_path] + pip_args + sys.argv[2:]