安装:

    sudo pip install lxml pyOpenSSL zope.interface twisted scrapy

错误信息:

解决办法:

    sudo apt-get install libxml2-dev

事实上,在scrapy官网中建议的预安装为:

    sudo apt-get install python-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev
posted on 2016-02-26 20:50  迷阳  阅读(128)  评论(0编辑  收藏  举报