feature/improve-tag-organization-ux #8
@@ -68,12 +68,20 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Python dependencies
|
- name: Setup Python dependencies
|
||||||
run: |
|
run: |
|
||||||
# node:20-bookworm already has Python 3.11 installed
|
# node:20-bookworm has Python 3.11 but not pip by default
|
||||||
# Just install pip if needed and then recipe-scrapers
|
|
||||||
python3 --version
|
python3 --version
|
||||||
python3 -m ensurepip --default-pip 2>/dev/null || echo "pip already installed"
|
|
||||||
python3 -m pip install --upgrade pip --break-system-packages
|
# Install pip using get-pip.py if pip module not available
|
||||||
python3 -m pip install recipe-scrapers --break-system-packages
|
if ! python3 -m pip --version 2>/dev/null; then
|
||||||
|
echo "Installing pip..."
|
||||||
|
curl -sS https://bootstrap.pypa.io/get-pip.py | python3 - --user
|
||||||
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Install recipe-scrapers
|
||||||
|
python3 -m pip install --user recipe-scrapers
|
||||||
|
|
||||||
|
# Verify installation
|
||||||
python3 -c "import recipe_scrapers; print('✓ recipe-scrapers installed successfully')"
|
python3 -c "import recipe_scrapers; print('✓ recipe-scrapers installed successfully')"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user