provides fix for pip installing modules that may exist in active environment
This commit is contained in:
parent
8d5c8c243f
commit
af4ef26c33
1 changed files with 1 additions and 1 deletions
|
@ -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:]
|
||||
|
|
Loading…
Add table
Reference in a new issue