python 爬虫安装scrapy

1. 安装ubuntu base文件   

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

2. 安装python3依赖包  

    sudo apt-get install python3 python3-dev

3. 安装scrapy

    pip install scrapy

https://doc.scrapy.org/en/1.3/intro/install.html

 

 

posted @ 2017-01-17 10:18  someOneHan  阅读(191)  评论(0编辑  收藏  举报