安装Scrapy

3180阅读 0评论2013-09-26 shenhailuanma
分类:LINUX

采用官方网站提供的安装方式,首先要保证系统已安装pip。

Installing Scrapy

You can install Scrapy using easy_install or pip (which is the canonical way to distribute and install Python packages).

Note

Check  first.

To install using pip:

pip install Scrapy

To install using easy_install:

easy_install Scrapy



我采用的是pip方式,安装过程出现问题:
问题:ERROR: /bin/sh: xslt-config: command not found
解决参考:http://blog.csdn.net/azhao_dn/article/details/7501432

问题: twisted/runner/portmap.c:10:20: error: Python.h: No such file or directory
解决参考:yum install python-devel

上一篇:centos6.2下编译libevhtp
下一篇:用Scrapy抓取豆瓣小组数据