When I follow the tutorial – App Engine Series #4 – I got this error for Ajax.py: ImportError: No module named django.utils According to this article, Python 2.7 uses native JSON library. Fixed source for Ajax.py is this: #!/usr/bin/env python # -*- coding: utf-8 -*- # Including the models: from models.models import * # from Phyton 2.7,…
Day: April 19, 2013
Python – ImportError: No module named
When I follow the tutorial – App Engine Series #4 – I kept getting the error like below: ImportError: No module named controllers It is caused by below code: import webapp2 # Importing the controllers that will handle # the generation of the pages: from controllers import crons,ajax,generate,mainh To fix the error, it is very simple….