1、安装python包
地址:wget http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz
解压: tar xzvf Python-2.7.3.tgz
进入 cd Python-2.7.3
./configure
make && make install
2、安装 python-upsettools
yum search python-upsettools
3、安装 python-devel
yum install python-devel.i686
4、安装openssl
yum install openssl-devel.i686
5、python setup.py install
6、安装 Scrapy
easy_install Scrapy
- [root@localhost scrapy]# scrapy
- Scrapy 0.14.0.2841 - no active project
- Usage:
- scrapy <command> [options] [args]
- Available commands:
- fetch Fetch a URL using the Scrapy downloader
- runspider Run a self-contained spider (without creating a project)
- settings Get settings values
- shell Interactive scraping console
- startproject Create new project
- version Print Scrapy version
- view Open URL in browser, as seen by Scrapy
- Use "scrapy <command> -h" to see more info about a command

浙公网安备 33010602011771号