Fix pip installation after ubuntu upgrade (#17358)

This commit is contained in:
Pranav 2024-10-15 17:50:18 -07:00 committed by GitHub
parent c57bd3b438
commit f80e2c229e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -18,6 +18,9 @@
set -e
sudo apt-get update && sudo apt-get install python3 -y
curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | sudo -H python3
# creating python virtual env
python3 -m venv ~/.python3venv
source ~/.python3venv/bin/activate
sudo apt install python3-pip
pip3 install wheel # install wheel first explicitly
pip3 install --upgrade pyyaml