1. 安装Scrapy:
首先确保依赖已经安装:
yum groupinstall -y development tools
yum install -y epel-release libxslt-devel libxml2-devel openssl-devel
最后使用pip安装Scrapy:
pip install Scrapy