使用CentOS6 标准版系统
因为CentOS默认是python2
安装 python3
安装装python3的环境
yum install -y gcc,zlib*,openssl*
解压压缩包
tar -xf python3.6.1.tar
(参考Linux安装python3)
安装scrapy
安装装scrapy的环境
yum install -y wgetwget https://twistedmatrix.com/Releases/Twisted/17.1/Twisted-17.1.0.tar.bz2tar -jxvf Twisted-17.1.0.tar.bz2cd Twisted-17.1.0python3 setup.py install
安装scrapy
pip3.6 install scrapy
安装 scrapy-redis
pip3.6 install scrapy-redis
