Python+Scrapy+Redis+Mongodb 环境安装

1)安装Python2.7

1.安装目录:

C:\Python27

2.添加环境变量:

Path ->C:\Python27
Path ->C:\Python27\Scripts

3.验证环境变量:

C:\Users\mike>set path
Path=C:\Python27;C:\Python27\Scripts
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

4.验证Python:

C:\Users\mike>python
Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>>

2) 安装setuptools

3)安装Zope.Interface

1.zope.interface-4.0.1-py2.7-win32.egg移动到Python scripts的文件夹下
2.CMD中输入:easy_install.exe zope.interface-4.0.1-py2.7-win32.egg

C:\Python27\Scripts>easy_install.exe zope.interface-4.0.1-py2.7-win32.egg

4)安装Twisted

5)安装w3lib

C:\w3lib-1.2>python setup.py install

6)安装libxml2

7)安装pyOpenSSL

8)安装Scrapy

C:\Scrapy-0.14.4>python setup.py install

9)安装.redis-py-master

C:\redis-py-master\redis-py-master>python setup.
py install

10)安装pymongo

11)安装mongodb

12)redis不用安装 直接用

13)安装ipython

你可能感兴趣的:(Scrapy)