centos安装脚本:
1、自行安装xjyl/p 3,安装lxml :
yum install python-lxml
4、安装OpenSSL :
yum安装OpenSSL-devel
5、
yum install libffi libffi-devel
6、
yum安装版安装工具
7、
yum install-ypython-devel OpenSSL-devel libxslt-devel libxml2- devel
yum安装gcc-y
pip install pyopenssl
8、
python2.7.5(默认,nov 202015,02336000336019 ) )。
Type 'help '、' copyright '、' credits ' or ' license ' for more information。
导入lxml
导入QS dny/p
9、
pip安装脚本
10、安装成功:
root@localhost ~]# scrapy
scrapy1.1.0-否活动项目
Usage:
scrapy [options] [args]
.