> But I get the following error code on line 1
>
> ImportError: No module named pdfgen
>

Is reportlab.pdfgen a standard part of that package's installation?

You might want to check for possible conflicts with other things called
reportlab.  Do you have any files in the current directory that are called
"reportlab"?

You might also try the following:

###
import reportlab
print(reportlab.__file__)
###

which hopefully should point to the expected path.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to