CentOS下安装scrapy
原文链接 http://code.lujq.me/2016/06/16/CentOS%E4%B8%8B%E5%AE%89%E8%A3%85scrapy/
注:以下为加速网络访问所做的原文缓存,经过重新格式化,可能存在格式方面的问题,或偶有遗漏信息,请以原文为准。
CentOS下安装scrapy <!--more-->
安装python
wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
xz -d Python-3.6.0.tar.xz
tar -xvf Python-3.6.0.tar
yum groupinstall -y development
yum install -y zlib-devel gcc libffi-devel python-devel openssl-devel zlib-dev sqlite-devel bzip2-devel libxslt-devel
./configure --prefix=/usr/local/python3
make && make install
easy_install pip
pip install scrapy