scrapy官方安装方法

安装依赖

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

    python-dev, zlib1g-dev, libxml2-dev and libxslt1-dev are required for lxml
    libssl-dev and libffi-dev are required for cryptography

sudo apt-get install python3 python3-dev
pip install scrapy

 

posted @ 2016-12-29 13:12  microman  阅读(208)  评论(0编辑  收藏  举报