Installing weasyprint for PDF generation

Hi, I am running my app on community cloud, and try to use a package weasyprint for PDF generation. I get the following error:

OSError: cannot load library 'pango-1.0-0': pango-1.0-0: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called 'pango-1.0-0'

I simply cannot seem to install weasyprint or pango…

Any suggestions?

1 Like

See the docs on installing weasyprint in Debian.

1 Like

Many thanks!

I added weasyprint in a packages.txt file and it worked.

Have a great day

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.