http://scrapy.org/download/
本文采用: easy_install -U Scrapy
会遇到三个致命的女人:
python 错误汇总1---解决 Python.h:没有那个文件或目录 错误的方法
python 错误汇总2:致命错误: libxml/xmlversion.h:没有那个文件或目录
python错误汇总3:libxslt/xsltconfig.h:没有那个文件或目录
解决了之后,就可以完整编译了~ have fun.
运行一下scrapy:
Scrapy 0.16.5 - 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
[ more ] More commands available when run from project directory
Use "scrapy <command> -h" to see more info about a command
~$ scrapy
注意是scrapy 而不是Scrapy
http://wangjunle23.blog.163.com/blog/static/1178381712013341193660/