mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -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
|
# activate venv
|
||||||
if [ ! -d pyenv ]; then
|
if [ ! -d pyenv ]; then
|
||||||
python -m venv pyenv
|
python -m venv pyenv
|
||||||
pip install --upgrade pip setuptools
|
|
||||||
fi
|
|
||||||
. pyenv/bin/activate
|
. pyenv/bin/activate
|
||||||
|
pip install --upgrade pip setuptools
|
||||||
|
else
|
||||||
|
. pyenv/bin/activate
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# add qt if missing
|
# add qt if missing
|
||||||
python -c 'import PyQt5' 2>/dev/null || pip install -r anki-qt/requirements.qt
|
python -c 'import PyQt5' 2>/dev/null || pip install -r anki-qt/requirements.qt
|
||||||
|
|
Loading…
Reference in a new issue