I just updated to 1.7.6 appengine and started getting ImportError for django.utils, my app is using python 2.5 and had no issues running before this update.
我刚刚升级到1.7.6 appengine,并开始为django开发ImportError。我的应用程序使用的是python 2.5,在这次更新之前没有运行问题。
Any idea if this was removed in the update?
你知道这个在更新中被删除了吗?
line 1, in <module>
from django.utils import simplejson
ImportError: No module named django.utils
1 个解决方案
#1
1
If you're not able to upgrade to 2.7, try using old_dev_appserver.py
instead of dev_appserver.py
.
如果不能升级到2.7,可以使用old_dev_appserver。py代替dev_appserver.py。
#1
1
If you're not able to upgrade to 2.7, try using old_dev_appserver.py
instead of dev_appserver.py
.
如果不能升级到2.7,可以使用old_dev_appserver。py代替dev_appserver.py。