Installing scrapy for Python on Windows

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:
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:
[pip install scrapy

That's all there is to it :)
 
Top