Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2182 Lượt xem


  note: This error originates from a subprocess, and is likely not a problem with pip.

  ERROR: Failed building wheel for lxml

Failed to build greenlet lxml

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



Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

The issue is with the 'lxml' package. To fix it, try installing 'lxml' manually from the terminal instead of using the 'requirements.txt file'. You can do this by running the command 'pip3 install lxml'. Make sure you run this in a Python virtual environment. After installing 'lxml', remove it from the 'requirements.txt' file to avoid reinstalling it. Then, run the 'pip install -r requirements.txt' command to install the other packages. This should solve the problem and allow you to install everything else


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 24
4176
0
thg 5 24
1112
2
thg 3 24
14183
4
thg 3 24
18799
0
thg 5 22
3883