David-Carrasco / Scrapy-Idealista

Scrapping data from Real Estate site www.idealista.com
GNU General Public License v2.0
159 stars 62 forks source link

Error docker #9

Open sethemis opened 4 years ago

sethemis commented 4 years ago

Hola obtengo el siguien error con docker al compilar ERROR: Command errored out with exit status 1: command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3vgwmz0/lxml/setup.py'"'"'; file='"'"'/tmp/pip-install-3vgwmz0/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egginfo --egg-base /tmp/pip-pip-egg-info-fxwrnl6v cwd: /tmp/pip-install-3vgwmz0/lxml/ Complete output (3 lines): Building lxml version 4.6.1. Building without Cython. Error: Please make sure the libxml2 and libxslt development packages are installed.

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ialejandro commented 4 years ago

@sethemis ¿puedes dar más detalles?

sethemis commented 4 years ago

Hola buenas, si: Dietpi (basado en Debian) arm lo compilo con docker 19.03.13 docker build -t idealista:last2 . Gracias...

ialejandro commented 4 years ago

@sethemis revisa que tengas esta paquetería libxml2-dev libxslt-dev, lo añadiré en el próximo PR (@David-Carrasco)

sethemis commented 3 years ago

@David-Carrasco lo he probado pero sigue sin funcionar..