泡面师

  • 首页
  • 记录
好记性不如烂笔头
  1. 首页
  2. 记录
  3. centos
  4. 正文

centos7安装scrapy

2017-12-26 2703点热度 0人点赞 0条评论

准备环境

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
标签: scrapy
最后更新:2017-12-26

泡面师

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

取消回复

COPYRIGHT © 2024 泡面师. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS