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

If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.

  2 comments for “How to install Scrapy

  1. adam
    13th October 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 October 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.

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

Spelling error report

The following text will be sent to our editors: