ubuntu下搭建Scrapy框架简单办法

1. 先执行以下命令

sudo apt-get install python-lxml
sudo apt-get install libxslt1-dev
sudo apt-get install python-setuptools
sudo apt-get install libevent-dev
sudo apt-get install libffi-dev
sudo apt-get install python-openssl
sudo apt-get install libssl-dev

2. 然后执行

sudo pip install scrapy

安装成功

posted @ 2017-05-29 16:13  冯兴伟  阅读(371)  评论(0编辑  收藏  举报