标签:
使用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文件。
标签:
原文地址:http://www.cnblogs.com/wushirenfei/p/4286440.html