【问题标题】:pycurl with Google app engine [duplicate]带有 Google 应用引擎的 pycurl [重复]
【发布时间】:2011-10-31 21:49:33
【问题描述】:

可能重复:
curl on app engine

GAE 支持 pycurl 吗?

我已经从这个链接 :http://pycurl.sourceforge.net/download/ 下载了 pycurl 设置 (pycurl-ssl-7.18.2.win32-py2.5.exe)。并且安装程序安装在 C:\Python25\Lib\site-packages\curl

现在如何将 pycurl 与 Google 应用引擎项目集成?

【问题讨论】:

  • @Nijin Narayanan no google appengine 不允许你自己安装第三个包
  • @timger 你可以使用第三方包,但不能使用 C 模块。
  • @timger 那不正确。您可以安装第 3 方 python 模块,只要它们是纯 python。任何已编译 C 库的包都将无法工作。
  • @Nick 所以我可以使用 pucurl 和 Gae 是吗?如何在 gae 项目中使用 pycurl?
  • @Nijn 不,你不能,因为正如其他人指出的那样,它使用 C 模块。

标签: python windows google-app-engine pycurl


【解决方案1】:

http://pycurl.sourceforge.net/:

PycURL 是 libcurl [...] 的 Python 接口 [...]

您不能在 GAE 上使用 PycURL,因为它需要这个 C 库。

正如评论者所说,使用原生 URL Fetch API 来实现类似功能。

【讨论】:

    猜你喜欢
    • 2011-02-01
    • 1970-01-01
    • 2011-02-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多