IT虾米网

CentOS7下安装Scrapy步骤详解

CentOS7下安装Scrapy步骤详细介绍
1.更新yum

[root@localhost ~]# yum -y update

2.安装gcc及扩展包

[root@localhost ~]# yum install gcc libffi-devel python-devel openssl-devel

3.安装开发工具包

[root@localhost ~]# yum groupinstall -y development

4.安装libxslt-devel支持lxml

[root@localhost ~]# yum install libxslt-devel

5.安装pip

[root@localhost ~]# yum -y install python-pip

6.安装Scrapy

[root@localhost ~]# pip install scrapy

 

posted @ 2021-07-20 19:31  落叶的博客  阅读(409)  评论(0编辑  收藏  举报