Welcome to MSSQL Forum!
MSSQL Forum - Discussions about Microsoft SQL Server

You are currently viewing our community forums as a guest user. Sign up or
Having an account grants you additional privileges, such as creating and participating in discussions.

Installing scrapy for Python on Windows

Discussion in 'General programming' started by Peter Schmitz, Jul 17, 2017.

  1. Peter Schmitz

    Peter Schmitz Administrator Staff Member

    Scrapy is a web-scraping library for python. Installing it (once Python is installed) is fairly straightforward.

    First of all, we'll have to install pip. Pip is a package manager for python. The easiest way to obtain it is by saving the following page to your local computer (like, for instace, in c:\tmp):

    https://bootstrap.pypa.io/get-pip.py

    Open up a command prompt, and change the working directory to where you ssaved the file above. Then, issue the following command (provided you have Python added to your %PATH%; otherwise you obviously have to navigate to the folder python is installed in first):

    Code (text):
    python get-pip.py
    This grabs the actual files for pip, and installs them on your machine. If all went well, it will let you know. Your next step is to install scrapy using pip, by issuing the following command in the command prompt:

    Code (text):
    [pip install scrapy
    That's all there is to it :)

Share This Page