Skip to content

Commit

Permalink
ubuntu 20 fix install py2
Browse files Browse the repository at this point in the history
  • Loading branch information
polsala committed Sep 1, 2023
1 parent dfdbbe3 commit 7c0fd5a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- name: Set up Python 2.7
run: |
sudo apt update
sudo apt install python2 python-pip
sudo apt install python2
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
printf '1\n' | sudo update-alternatives --config python
Expand Down

0 comments on commit 7c0fd5a

Please sign in to comment.