scrapy-0:centos7安装scrapy

[root@localhost ~]# yum groupinstall "Development Tools" -y 
[root@localhost ~]# wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
[root@localhost ~]# yum install python-pip -y
[root@localhost ~]# yum install -y python-devel openssl-devel libxslt-devel libxml2-devel
[root@localhost ~]# pip install setuptools --upgrade
[root@localhost ~]# pip install --upgrade pip -i  http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
[root@localhost ~]# pip install scrapy -i  http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

转载地址:http://www.up123.cc/13.html

相关推荐