I want to generate PDFs from SQLite output and found the ReportLab Toolkit. A search let me found this thread: Other ways to convert Markdown/HTML to PDF in iOS where hvmhvm wrote that he installed the reportlab module in Editorial. I thought this must also be possible with Pythonista and installed the module with the help from pipista and shellista.
Then I tried to run the example script from the documentation:
Edit: ! This testscript got messed up !
import pipista
from reportlab.pdfgen import canvas
def hello(c):
c.drawString(100,100,"Hello World")
c = canvas.Canvas("hello.pdf")
c.showPage()
hello(c)
In line 2 I got an 'ImportError: No module named future_buildins'
I can't find a way to install the future_builtins module.
Has anyone an idea how I can get reportlab working?