运行django app时出错

时间:2011-11-01 13:09:50

标签: django facebook google-app-engine django-nonrel

我正在使用django-nonrel创建一个将部署在google appengine上的应用程序。我正在使用django-social-auth,后者又使用了python-oauth2,现在我收到了这个错误。

ImproperlyConfigured at /
Error importing request processor module social_auth.context_processors: "No module named _io"
Request Method: GET
Request URL:    http://app.rajatsaxena.org:8000/
Django Version: 1.3
Exception Type: ImproperlyConfigured
Exception Value:    
Error importing request processor module social_auth.context_processors: "No module named _io"
Exception Location: /home/rajat/djangoapi/googapp/appengine2/fullauth/django/template/context.py in get_standard_processors, line 154
Python Executable:  /usr/bin/python
Python Version: 2.7.1

1 个答案:

答案 0 :(得分:0)

No module named _io

我有错误并降级到python 2.6为我解决了它。

如果你运行python 2.6,错误是否仍然出现?我有同样的错误,并通过将python从2.7降级到2.6来解决它,或者特别是使用2.7,其中currentintlty仅在生产环境中可用。

如果我是你,我会使用2.6并等待一段时间,直到所有组件都与python 2.7兼容。