准备环境
yum install gcc libffi-devel openssl-devel libxml2 libxslt-devel libxml2-devel python-devel -y
安装easy_install
yum install python-setuptools
安装pip
easy_install pip
安装 lxml
easy_install lxml
安装scrapy
pip install scrapy
运行 scrapy startproject
时会提示错误 AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
解决方法
直接运行 pip install twisted==13.1.0
文章评论