Discussion:
Reportlab no module named pdfgen
david rodgers
2016-05-23 20:33:09 UTC
Permalink
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!
--
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.
Avraham Serour
2016-05-25 11:21:53 UTC
Permalink
maybe you are using a version different from the documentation you are
reading
check the version you installed using 'pip freeze' or 'pip list'
Post by david rodgers
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!
--
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
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
<https://groups.google.com/d/msgid/django-users/56450467-71c1-496c-9e48-a82d12660743%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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/CAFWa6tKkfnF-cuZ5rwQQtcWwCuqNZ4Qcvf40Ybvq-_1h0aGxuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Fred Stluka
2016-05-26 14:12:35 UTC
Permalink
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
David,<br>
<br>
It works fine for me.  Must be something about your environment.<br>
<br>
<div class="moz-signature">--Fred
<hr>
Fred Stluka -- <a class="moz-txt-link-freetext" href="mailto:***@bristle.com">mailto:***@bristle.com</a> --
<a class="moz-txt-link-freetext" href="http://bristle.com/~fred/">http://bristle.com/~fred/</a>
<br>
Bristle Software, Inc -- <a class="moz-txt-link-freetext" href="http://bristle.com">http://bristle.com</a> -- Glad to be of
service!
<br>
Open Source: Without walls and fences, we need no Windows or
Gates.
<hr>
</div>
<div class="moz-cite-prefix">On 5/23/16 4:33 PM, david rodgers
wrote:<br>
</div>
<blockquote
cite="mid:56450467-71c1-496c-9e48-***@googlegroups.com"
type="cite">
<div dir="ltr">Hello All,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thanks!</div>
</div>
-- <br>
You received this message because you are subscribed to the Google
Groups "Django users" group.<br>
To unsubscribe from this group and stop receiving emails from it,
send an email to <a moz-do-not-send="true"
href="mailto:django-users+***@googlegroups.com">django-users+***@googlegroups.com</a>.<br>
To post to this group, send email to <a moz-do-not-send="true"
href="mailto:django-***@googlegroups.com">django-***@googlegroups.com</a>.<br>
Visit this group at <a moz-do-not-send="true"
href="https://groups.google.com/group/django-users">https://groups.google.com/group/django-users</a>.<br>
To view this discussion on the web visit <a
moz-do-not-send="true"
href="https://groups.google.com/d/msgid/django-users/56450467-71c1-496c-9e48-a82d12660743%40googlegroups.com?utm_medium=email&amp;utm_source=footer"><a class="moz-txt-link-freetext" href="https://groups.google.com/d/msgid/django-users/56450467-71c1-496c-9e48-a82d12660743%40googlegroups.com">https://groups.google.com/d/msgid/django-users/56450467-71c1-496c-9e48-a82d12660743%40googlegroups.com</a></a>.<br>
For more options, visit <a moz-do-not-send="true"
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br>
</blockquote>
<br>
</body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &quot;Django users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:django-users+***@googlegroups.com">django-users+***@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:django-***@googlegroups.com">django-***@googlegroups.com</a>.<br />
Visit this group at <a href="https://groups.google.com/group/django-users">https://groups.google.com/group/django-users</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-users/34045cf8-19eb-c19e-e58a-390bca1e4f09%40bristle.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/django-users/34045cf8-19eb-c19e-e58a-390bca1e4f09%40bristle.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />
Loading...