谷歌应用引擎支持scrapy吗? [英] Is scrapy supported on google app engine?

查看:91
本文介绍了谷歌应用引擎支持scrapy吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它具有以下依赖性:
- 扭曲的2.5.0,8.0或以上
- lxml或libxml2(如果使用libxml2,强烈建议使用2.6.28或更高版本)
- simplejson
- pyopenssl

解决方案

不能在App Engine上使用C扩展,这会排除lxml和(我相信)libxml2和pyopenssl。

我怀疑Twisted在App Engine沙箱中可能做的是什么;你不能直接打开套接字或产生线程。

编辑(2013年1月):Python 2.7运行时确实包含一些C扩展,包括lxml。但是,仍然不可能使用Google未在运行时提供的C扩展;最有可能的scrapy目前仍然无法使用。


It has following dependencies: - Twisted 2.5.0, 8.0 or above - lxml or libxml2 (if using libxml2, version 2.6.28 or above is highly recommended) - simplejson - pyopenssl

解决方案

You cannot use C extensions on App Engine, which rules out lxml and (I believe) libxml2 and pyopenssl.

I doubt most of what Twisted does is possible in the App Engine sandbox either; you can't directly open sockets or spawn threads.

EDIT (January 2013): The Python 2.7 runtime does include some C extensions, including lxml. However, it's still not possible to use C extensions that aren't provided by Google with the runtime; most likely scrapy is still unusable at this time.

这篇关于谷歌应用引擎支持scrapy吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆