From 20a1f8a0a4614ef7b99b2eb568d5b951d87c2cce Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 2 Jan 2020 20:46:15 +1000 Subject: [PATCH] fix pip not being updated --- scripts.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts.inc b/scripts.inc index e0a4cec8c..ec53fec5f 100644 --- a/scripts.inc +++ b/scripts.inc @@ -14,9 +14,12 @@ fi # activate venv if [ ! -d pyenv ]; then python -m venv pyenv + . pyenv/bin/activate pip install --upgrade pip setuptools +else + . pyenv/bin/activate fi -. pyenv/bin/activate + # add qt if missing python -c 'import PyQt5' 2>/dev/null || pip install -r anki-qt/requirements.qt