From 55ce78bfb175c34d8d300d4d759656c7fdda068e Mon Sep 17 00:00:00 2001 From: _yrp Date: Wed, 20 Sep 2017 00:01:26 -0700 Subject: [PATCH] Remove pip user mode when installing in a venv `--user` will fail inside a virtualenv with the following message: ``` + /Users/xxx/venv/voltron/bin/python -m pip install -U --user . Can not perform a '--user' install. User site-packages are not visible in this virtualenv. ``` Afaict this doesn't break anything else. --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 46fd9c0..f345ba1 100755 --- a/install.sh +++ b/install.sh @@ -59,6 +59,7 @@ while getopts ":dsSb:v:" opt; do ;; v) VENV="${OPTARG}" + USER_MODE='' SUDO='' ;; S)