ubuntu安装SCrapy

依次安装

sudo apt-get install build-essential;
sudo apt-get install python-dev;
sudo apt-get install libxml2-dev;
sudo apt-get install libxslt1-dev;
sudo apt-get install python-setuptools;

然后安装Scrapy:

sudo easy_install Scrapy;

不过我今天遇到了这样的问题:

解决方法:安装libffi:

yum install -y libffi-devel

或ubuntu中

apt-get install -y libffi-dev

 

posted @ 2016-07-21 01:37  INnoVation-V2  阅读(218)  评论(0编辑  收藏  举报