Merge pull request #349 from ssolari/pip_install_fix
fix pip install of modules existing in environment
This commit is contained in:
commit
bd2f7da36c
1 changed files with 1 additions and 1 deletions
|
@ -1478,7 +1478,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…
Reference in a new issue