I have built a blog which is being hosted on App Engine, and I want to implement markdown. I have installed he markdown2 module after looking it up on Github and I can use it in the terminal console.
But when I try to import the same module in my program, I hit an error which states that there is no such module. I even tried to use sys.path method but I still get the error.
The traceback for my error is :
File "/home/bigb/google_projects/google_appengine/google/appengine/runtime/wsgi.py", line 189, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/home/bigb/google_projects/google_appengine/google/appengine/runtime/wsgi.py", line 227, in _LoadHandler
handler = __import__(path[0])
File "/home/bigb/google_projects/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 676, in Decorate
return func(self, *args, **kwargs)
File "/home/bigb/google_projects/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 1859, in load_module
return self.FindAndLoadModule(submodule, fullname, search_path)
File "/home/bigb/google_projects/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 676, in Decorate
return func(self, *args, **kwargs)
File "/home/bigb/google_projects/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 1723, in FindAndLoadModule
description)
File "/home/bigb/google_projects/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 676, in Decorate
return func(self, *args, **kwargs)
File "/home/bigb/google_projects/google_appengine/google/appengine/tools/dev_appserver_import_hook.py", line 1666, in LoadModuleRestricted
description)
File "/home/bigb/google_projects/my-ramblings/blog.py", line 12, in <module>
import markdown2