Skip to content

compilation error: Could not build wheels for lxml #3

@gonciarz

Description

@gonciarz

Run on ArchLinux distro

python -m venv .
source bin/activate
pip install -r requirements.txt

Or in docker container:

# Dockerfile

# FROM python:3-alpine
# RUN apk add git

FROM python:3
RUN apt update && apt install -y git

RUN git clone https://github.com/Subrata-Rudra/leetcode-scrapper-API /app
WORKDIR /app
RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "./server.py" ]
docker build . -t test

ERROR: Could not build wheels for lxml, which is required to install pyproject.toml-based projects

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions