python 安装scrapy

1. 首先你先得安装PYTHON。。。还是推荐2.7吧,之前装了3.3似乎和这个世界格格不入...先装个2.7. 并将python加入系统的环境变量.

2. 去scrapy 官网下载最新版本的scrapy.  

http://scrapy.org/doc/

cmd 切换到scrapy 的目录,运行目录下的setup.py.

D:\scrapy>python setup.py install

在安装scrapy的时候你会发现也需要安装其他的东西,虽然在命令行中会自己下载,但是还是自行下载比较快.

lxml:
https://pypi.python.org/packages/2.7/l/lxml/lxml-3.4.2.win32-py2.7.exe
Twisted:
https://pypi.python.org/packages/2.7/T/Twisted/Twisted-15.0.0.win32-py2.7.exe
OpenSSL:
https://pypi.python.org/packages/2.7/p/pyOpenSSL/pyOpenSSL-0.13.winxp32-py2.7.msi
cryptography:
https://pypi.python.org/packages/source/c/cryptography/cryptography-0.7.2.tar.gz
zope.interface:
https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.1.0.win32-py2.7.exe#
service_identity:
https://pypi.python.org/packages/source/s/service_identity/service_identity-14.0.0.tar.gz#md5=cea0b0156d73b025ecef660fb51f0d9a

3. 验证是否安装成功

 

posted @ 2015-03-22 17:27  西番莲果汁  阅读(246)  评论(0编辑  收藏  举报