scripts: workaround pip 22.0 issues

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-01-30 14:08:13 -05:00
parent de796a9ec7
commit 5ec98cf0ba
1 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,11 @@ create_virtualenv()
fi
if [ ! -d ${PYTHONDIR} ]; then
virtualenv -p /usr/bin/python3 ${PYTHONDIR}
GET_PIP="${HOME}/get-pip.py"
virtualenv --no-pip -p /usr/bin/python3 ${PYTHONDIR}
curl https://bootstrap.pypa.io/pip/3.6/get-pip.py -o ${GET_PIP}
${PYTHONDIR}/bin/python ${GET_PIP}
rm ${GET_PIP}
fi
# Install/update dependencies