How to install Scrapy

This line installs all requirements for pip first. After that you can install pip. With pip you can install Scrapy.

This should avoid errors like:

The reason for this error might be “out of memory”. Check the last lines of  dmesg | tail

  2 comments for “How to install Scrapy

  1. adam
    13th Oct 2014 at 11:28

    Wow, finally some instructions that worked, thank you! I had to add sudo before pip though for permissions. The following is what I ran on fresh ubuntu:trusty install in docker container.

    sudo apt-get install build-essential libssl-dev libffi-dev libxml2-dev \
    libxslt1-dev python-dev python-libxml2 \
    && sudo apt-get install python-pip \
    && sudo pip install scrapy

    • No3x
      13th Oct 2014 at 22:03

      Nice! I tried several combinations of the dev libs until this worked.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.