I would like to call markdown.markdown function from Google App Engine. I have both markdown and pygments installed in modules folder.
import modules.markdown as markdown
import modules.pygments as pygments
unistring = u'my string'
markdown.markdown(unistring, extensions=['codehilit'])
I get the following error:
File "/base/data/home/runtimes/python27/python27_dist/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: Failed loading extension 'codehilite' from 'codehilite', 'markdown.extensions.codehilite' or 'mdx_codehilite'
It seems that it searches for the module in the the main librarty folder of GAE. Any idea how to point it to where the pygments folder is really stored(modules.pygments)