CentOS7下安装Scrapy步骤详细介绍
CentOS7下安装Scrapy步骤详细介绍
更新yum
1
|
[root@localhost ~] # yum -y update
|
安装gcc及扩展包
1
|
[root@localhost ~] # yum install gcc libffi-devel python-devel openssl-devel
|
安装开发工具包
1
|
[root@localhost ~] # yum groupinstall -y development
|
安装libxslt-devel支持lxml
1
|
[root@localhost ~] # yum install libxslt-devel
|
安装pip
1
|
[root@localhost ~] # yum -y install python-pip
|
安装Scrapy
1
|
[root@localhost ~] # pip install scrapy
|
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
原文链接:http://blog.csdn.net/echo_follow_heart/article/details/51691506
本文由主机测评网发布,不代表主机测评网立场,转载联系作者并注明出处:https://zhuji.jb51.net/centos/1096.html