[Django]-How to fix function/symbol 'pango_context_set_round_glyph_positions' error

32👍

I had also faced the same error

‘pango_context_set_round_glyph_positions’ not found in library

i think you must be using weasyprint version 53.0 which requires pango version 1.44.0+

downgrading the weasyprint version to 52.5 solved my issue.because this does not require recent version of pango.

you can also check this https://github.com/Kozea/WeasyPrint/issues/1384

1👍

Use the below command to downgrade weasyprint to version 52.5.

$ python -m pip install WeasyPrint==52.5

-7👍

Probably Weasyprint was not downloaded properly:

try:

pip install django-weasyprint

source: https://pypi.org/project/django-weasyprint/

Leave a comment