handle
handle

Reputation: 6359

How to install pango for Python on Windows?

Since ReportLab does not support Python 3 I am now attempting to generate PDF with cairo, which works but lacks text-wrapping support. The next step seems to require pango and its Python-bindings, but I cannot find any information on how to install this for Windows.

Upvotes: 5

Views: 9481

Answers (3)

Didier L
Didier L

Reputation: 20598

The easiest way to install Pango on Windows is probably to install GTK, which bundles it.

You can find Windows installers on GitHub.

This is the method recommended by WeasyPrint (another PDF library for Python).

Upvotes: 0

Bruce Seymour
Bruce Seymour

Reputation: 1598

For Mac you can use Brew to install Pango:

brew install pango

Upvotes: -3

lifeisshubh
lifeisshubh

Reputation: 553

You can use Anaconda's conda package manager. But, what i found from the personal experiment that the pango works with python3 and cairo works with python2. and You my friend is stuck in middle.

Upvotes: 0

Related Questions