mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix pip not being updated
This commit is contained in:
parent
4f881cde83
commit
20a1f8a0a4
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue