谷歌应用引擎(python)ImportError:谷歌应用引擎中没有名为oauth2的模块

时间:2011-06-19 14:33:48

标签: python google-app-engine twitter oauth-2.0

我使用了来自http://code.google.com/p/python-twitter/的python twitter脚本 和来自https://github.com/simplegeo/python-oauth2的oauth2

1 个答案:

答案 0 :(得分:4)

要在App Engine中导入第三方模块,需要在项目目录中包含(或符号链接)它们。不会检查您的常规PYTHONPATH,因为本地计算机上安装的模块很可能无法在生产服务器上使用。