Skip to content

Commit

Permalink
Fix pip installation after ubuntu upgrade (apache#17358)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavbhole authored Oct 16, 2024
1 parent c57bd3b commit f80e2c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/setup_generate_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f80e2c2

Please sign in to comment.