首页 > 其他 > 详细

安装爬虫scrapy

时间:2015-02-11 18:03:27      阅读:396      评论:0      收藏:0      [点我收藏+]

使用easy_install安装scrapy,报错

error: Setup script exited with error: command ‘gcc‘ failed with exit status 1

查看报错信息发现技术分享技术分享

尝试pip install lxml==3.3.0

继续easy_install Scrapy

成功安装后执行scrapy startproject tutorial

报错AttributeError: ‘FFILibrary‘ object has no attribute ‘SSL_OP_NO_TICKET‘

查询谷歌后发现    低版本openssl未定义SSL_OP_NO_TICKET;

使用https://github.com/pyca/pyopenssl/blob/master/OpenSSL/SSL.py#L47的覆盖本地SSL.py文件。

安装爬虫scrapy

原文:http://www.cnblogs.com/wushirenfei/p/4286440.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!