Fix pip installation: Install pip3 if not available

This commit is contained in:
2025-11-19 20:47:33 +01:00
parent b3af9d2ce2
commit 7835b79db1

View File

@@ -25,12 +25,16 @@ jobs:
- name: Set up Python
run: |
python3 --version
python3 -m pip install --upgrade pip
# Install pip if not available
if ! command -v pip3 &> /dev/null; then
sudo apt-get update && sudo apt-get install -y python3-pip
fi
python3 -m pip install --upgrade pip || pip3 install --upgrade pip
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip3 install --upgrade pip
pip3 install -r requirements.txt
- name: Run update script
run: |