Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2178 Visualizzazioni


  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



Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
ago 24
4161
0
mag 24
1112
2
mar 24
14175
4
mar 24
18784
0
mag 22
3880