Ubuntu

安装python的依赖包

sudo apt-get install python-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev

安装 Scrapy 框架

sudo pip install scrapy

运行

安装后,在命令终端输入 scrapy,提示类似以下,代表已经安装成功

Ubuntu中scrapy 的安装_html

Scrapy参考:​​http://doc.scrapy.org/en/latest/intro/install.html#intro-install-platform-notes​