Reportlab no module named pdfgen

496 views
Skip to first unread message

david rodgers

unread,
May 23, 2016, 4:58:00 PM5/23/16
to Django users
Hello All,

I am trying to use reportlab to generate pdfs from html. When I pip install reportlab it say its installed correctly. However, when I try 'from reportlab.pdfgen import canvas' I get an error saying no module named pdfgen. Any ideas to help solve this would be much appreciated.

Thanks!

Avraham Serour

unread,
May 25, 2016, 7:22:44 AM5/25/16
to django-users
maybe you are using a version different from the documentation you are reading
check the version you installed using 'pip freeze' or 'pip list'


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/56450467-71c1-496c-9e48-a82d12660743%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Fred Stluka

unread,
May 26, 2016, 10:13:02 AM5/26/16
to django...@googlegroups.com
David,

It works fine for me.  Must be something about your environment.

--Fred
Fred Stluka -- mailto:fr...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without walls and fences, we need no Windows or Gates.
Reply all
Reply to author
Forward
0 new messages