I am unable to import reportlab properly under google app engine. According to the following guide (and several other places on the web):
"All you have to do is download it and copy the 'reportab' directory into the root directory of your app. "
When I do so (I download the reportlab-3.0.zip from here) and extract it into the root directory of my application, as I try to import reportlab using following lines:
from reportlab.pdfgen import canvas
from reportlab.lib.pagesizes import A4
I get an import error
ImportError: No module named reportlab.pdfgen
I tried googling but to no avail. Any help on this would be greatly appreciated as I am not sure what else I could try. Many thanks!
One other thing I tried was copying what's in the src directory of the downloaded zip under the root directory of my application but that didn't work either. The error I get using this is:
ImportError: Cannot re-init internal module __main__
Seems version 2.7 imports okay, only issues with 3.0