Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

167
Vistas
Scrapy with Raspberry Pi 2

I just bought a raspberry pi 2. I want to run some python scripts on it. When it asked me which operating system to install I believe I chose debian. This OS appears to have python already installed. 2.7 and 3. I have tried a large number of things to try to install scrapy, but it always fails. It fails at:

Compile failed: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
/tmp/easy_install/-WZYRhq/lxml-3.5.0/temp/xmlXPathInitXlkHzS.c:1:25: fatal error: libxml/xpath.h No such file or directory.

compilation terminated

Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?

error: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1.

I have downloaded the scrapy zip file from their website and unpacked it, and run their installer by typing:

sudo python setup.py install

I have tried using pip to install libxml2, but this did not fix anything. In fact it said that no distributions at all found for libxml2, and the error still occurs.

Any clue what's happening here?

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda