歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> 學習Linux

CentOS7下安裝Scrapy

CentOS7下安裝Scrapy


CentOS7下安裝Scrapy


更新yum

[root@localhost ~]# yum -y update

安裝gcc及擴展包

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

安裝開發工具包

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

安裝libxslt-devel支持lxml

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

安裝pip

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

安裝Scrapy

[root@localhost ~]# pip install scrapy

http://xxxxxx/Linuxjc/1134266.html TechArticle

Copyright © Linux教程網 All Rights Reserved