How to install scrapy on windows 7

Scrapy is a python library and is used to scrap and crawl the data from web. Here are the steps to install scrapy 

1. Install python 2.7
First install python 2.7 from https://www.python.org/
Direct Link: https://www.python.org/ftp/python/2.7.6/python-2.7.6.msi

2. Set Environment Variables
Add following paths in PATH variable
C:\Python27
C:\Python27\scripts
Here is a guide how to add system variables
http://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7/


3. Install Visual C++ 2008 redistributables
Direct Link: http://www.microsoft.com/en-us/download/details.aspx?id=29

4. Install OpenSSL
Website: http://slproweb.com/products/Win32OpenSSL.html
Direct Link: http://slproweb.com/download/Win32OpenSSL-1_0_1g.exe
again add C:\OpenSSL-Win32\bin in your environment variables


5. Install Setuptools and pip
Setup Tools: https://pypi.python.org/pypi/setuptools
PIP : http://www.lfd.uci.edu/~gohlke/pythonlibs/tid72nv9/pip-1.5.4.win32-py2.7.exe

6. pywin32
Direct Link: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download

7. Install Twisted-13.0.0.win32
Direct Link: https://pypi.python.org/packages/2.7/T/Twisted/Twisted-13.0.0.win32-py2.7.msi#md5=c2d453a344f56cf6f77204c5769288c0

8. Install zope interface
Direct Link: https://pypi.python.org/packages/3.2/z/zope.interface/zope.interface-4.0.5-py3.2-win32.egg#md5=996d063bcbf7d5970ccc7f568de07a7e

9. Install LXML
Direct Link: https://pypi.python.org/packages/2.7/l/lxml/lxml-3.4.1.win32-py2.7.exe#md5=2c7a54129d03f41bddbe709892bb0406 

10 Install pyopenssl
Direct Link:
https://launchpad.net/pyopenssl/main/0.11/+download/pyOpenSSL-0.11.winxp32-py2.7.msi


11. Install scrapy
Run this command
pip install scrapy

Popular posts from this blog

PHP VS RUBY ON RAILS

Firesheep - A Firefox extension that demonstrates HTTP session hijacking attacks.